flex

Flex Application, requesting HTTP Service, response working in IE but not in other browsers...

I'm building a Flex application which shows data of a user (SDK 3.2). Requires log in. First thing i do is call a php script via HTTPService which checks if a cookie is set, and if it is, returns it. Works fine in Flex, debugging, but in a browser, only works in IE. PHP script is working perfectly. I've tried changing the URl everytime t...

Skins not loaded in sub-applications (in Flex)

Hello, we try to develop a flash game engine with several abstraction layers. This flex project contains: an Application (1)-> loading a class (2)-> loading another class (3) which instanciates a Flex component (4). The loadings uses SWFLoader. The last Flex component (4) is just a Group with AdvancedDataGrid. We do not define skins s...

Flash loader demands library files in folder other than folder where main project file is ?

i have situation in which i have some library projects, say "DataProcessors","Lib2" , included in my lets say "MainProject" (a web project) placed on directory "E:\bin-debug\MainProject.swf" , when i build the project it automatically place all the libs .swf in its "E:\bin-debug" folder, but when i debug or run the project ...

read MAC address of machine from Adobe AIR

hello, i want to read MAC address of machine from Adobe AIR. I am using flex 3 and AIR 2. how can i do this the main purpose is i want to install that product in only one machine ...

LocalConnection: communicate between flex 4.1 and flash as2

Hiya. I'm trying to communicate between a flex 4.1 application to a flash action script 2 application using LocalConnection. flash application contains a button called btn01 and the following code: var a:LocalConnection = new LocalConnection(); btn01.onPress = function() { trace("button clicked"); a.send("abcde","test"); } you ca...

Finalisers in Adobe Flex 3

Using Adobe Flex 3, is there any way to specify a finaliser? ...

Need to put markers on a papervision3d model (esphere) on execution time (flash/flex)

Hi, im using papervision3d to load a 3d esphere with the world texture on a flash proyect. I want to know how can i put a marker on the model given a coordinate?, like two angles, and with marker i refer to a simple movieclip or similar. Thanks ...

Events dispatched by setFormatofRange

I have a text area on which I would like to listen to change events when I change the text formatting using setFormatOfRange(). So far all other events I have tried, such as Event.CHANGE or TextOperationEvent.CHANGE are only dispatched when the actual text is changed. Anyone know what I should be listening for ? ...

How do I manually trigger a buttons hover state in Flex?

I need to trigger the hover state of a Flex button programatically, so that it looks like the user is hovering over it. There is a flex page about "Manually dispatching events": http://livedocs.adobe.com/flex/3/html/help.html?content=events_07.html Which would work, but what I'd really like to do is change the style of the button witho...

ActionScript dispatchEvent silently fails with 'Asynchronous viewer update' message

I'm manually dispatching a propertyChanged event from my model only to never have it be caught. When I try to debug and step into (F5) the dispatchEvent call I get FlashBuilder error "Asynchronous viewer update" displayed twice. Does anyone have an idea why this might be failing? Possibly cyclical references? I have tried using weakRef...

How to set operation.url programatically in Flex

Hi, I have an app that retrieves data from an XML file on a server. I know how to set the initial link to the data but I would like this to be able to changed based on the user's setting. How to I update the retrieve data service url in runtime. I am using the latest version of Flex with Flash builder 4. Thanks for any help. ...

In Flex, what's the best way to use a dictionary as a dataprovider?

Normally in Flex you use a collection like ArrayCollection as the dataprovider for components. I often have data stored as a dictionary whose values I would like to use as a dataprovider. How would you recommend doing this? ...

In flex, how to trigger mouseevent when the focus is on TextInput?

In flex, I am using the following: mx:TextInput mouseOver="tester(event)" It works fine. My pointer goes over the textInput and it calls the function. But when I click inside the textInput to enter some text( focus is on the textInput) and then move the mouse (not taking mouse pointer outside of the boundary of textinput), the mouseov...

Looping OGG files with Adobe Alchemy

I'm trying to use Adobe's OggVorbis library. But I can't seem to get the Sound object to loop. I even tried looping the _sound object inside the AudioDecoder.as in the "com.automatastudios.audio.audiodecoder" package. Do you really have to reload the file and stream it over and over? ...

Autoupdating AIR apps on Linux without prompting for sudo password

Hey there overflowers, Maybe that's more of a Linux question than an Adobe Air one, but there you go: I have an AIR 2 app that does auto-update in the background, with no need for user interaction. It uses Air's own ApplicationUpdater framework (the one that doesn't require a UI) - all goes well until the package gets downloaded and nee...

Flex Builder: Not picking up new files

I have a working AS3 project and it compiles fine to a SWF. I added a new file (via various means: import, drag-drop, new), but it doesn't compile this new file. I'm using Flex Builder 3. I've tried a clean an rebuild. I've tried renaming. It picks up the existing files fine, but not the new one. The project is set to use a HTML wrapper....

Flash Builder 4 code navigation disables for imported maven projects

Hello, has anyone encountered the following trouble with Flash Builder 4 Eclipse plugin: after I import some flash projects from poms (import -> existing maven projects) and set their type to flex library or flex project manually, flash builder code navigation stops working for these projects - you cant' click on method name to go to its...

Windows authentication in Flex application

Hi, does anyone have an idea or developed before windows authentication through flex application. I know this maybe sounds silly, but could be very handy. :) I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step...

Flex 4 stopping an embbeded SWF

Hello all, I have this Flex 4.1 script: <fx:Script> <![CDATA[ [Embed(source="res/swf/user.swf")] [Bindable] private var SWFClass:Class; [Bindable] public var userClip:MovieClip = new SWFClass(); protected function test_clickHandler(event:MouseEvent):void { trace(...

Flex/Actionscript - Traceing the contents of a variable of type Function

for eg : var func:Fuction = function ():void { var i:int = 0; return i; }; Is there a way by which I can print the contents of the variable func at run time? By contents I mean the function body. ...