flex

Growl like notifications in Flex

Has anyone heard of a library to achieve such an effect in flex apps ? Otherwise it just be a simple panel with some skinning, fading effect and a timer. ...

Netstream bufferlength is zero when pausing. How to prevent that?

Hi, I am using Flex 3 and FMS3 from where I and sending a videostream. I want the user to be able to pause the stream, then resume it. For this I am using the methods pause() and resume(). The problem is, when I call pause() the bufferLength is released and equals zero. Accordingly when I resume, the NetStream needs to start buffering a...

What is different between below method on flex in action script3 ?

NativeApplication.nativeApplication.exit(); - this method is used for exit the application of flex/air . application.close(); - this method also used for exit the application of flex/air - So what is different? ...

Create Plugins in Flex - loading nested SWF files

I'm trying to implement a plugin system for our application, and having a devil of a time getting SWF file which was dynamically loaded itself, load additional SWF files. It goes something like this: Main Application Shell loads... ---------+ Application loads... -----------------+Plugin(s) I have no problem getting app #1 to load a...

How to pass custom variables to Flex applications

I'm trying to write an application where parameters have to be passed to the application. In Flex builder I modified the and tags in the index.template.html, but when debugging I still don't see the variables passed (using from as3 the Application.application.parameters object)... ...

UI rendering inconsistencies in Flex application.

Has anyone noticed UI rendering inconsistencies within Flex applications. I am having issues with radio buttons and text controls inside a repeater. Below is a sample... What would cause such inconsistencies? Computer performance, internet speed? The repeater below has an XML web service acting as a data provider, using Flex's e4x supp...

How to read xml tags and its data using flex?

Hi, I need to read xml tags and its datas from one file and then write it to another xml..how to do it?? please let me know immediately...? ...

Using swf as a library for another swf in a maven project using flex-mojos

Hi! I have a maven project with flex-mojos 3.1.0. Can I have a module with swf packaging and configure a dependency on it in another module? When I do, I get a compilation error. project | - module1:swf | - module2:swf module2/pom.xml: <parent> <groupId>com.mygroup</groupId> <artifactId>project</artifactId> <versio...

Binding effect properties inside effect tags not working?

We're trying to do this: <rollOverEffect> <AnimateProperty property="scaleX" toValue="{originalWidth + scaleFactor}" /> </rollOverEffect> However, it seems as though the effects toValue is always NaN. If I set the value to a constant the effect works. Isn't it possible to use databinding for effects like this? Addendum: Both or...

Is there a good argument for combining Flex and Rails?

Since Rails is already an effective Rich Internet Application framework because of the way it makes Ajax so easy, what is the argument for combining Rails with Flex and using Flex as the front end instead of HTML? A programmer friend of mine said he uses this combination because Flex is great for RIAs. My argument is that Rails is alread...

Flex: How to add horizontal axes to a chart?

I have a dynamically created chart and I need to add a horizontal and vertical axis in a script. I can't put the chart into MXML because I'm dynamically changing the chart type, deleting and creating a new chart. Therefore, the variable that I use to create the chart, an instance of chartBase, doesn't have either a horizontalAxis or vert...

Why does this Flex "Hello World" app not pick up the result of my remote HTTPService call?

When I go to http://localhost:3000/hello/sayhello, Rails outputs: hello world! as HTML. But when I run this Flex remote "Hello World" app, I see a button and a textbox but it does not pick up the output of the HTTPService call to my Rails url. Any ideas why? <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http:/...

flex sprite scroll bars

Please find the code below.When you run the example(attached file) and click on tools(top left)-> zoom in(click 2 times), you will see that the yellow color is scaled and goes beneath the blue color. What I was expecting is the yellow color will get scroll bars and it will not cross the boundaries. I have tried for quite some time but c...

Not getting Mouse Out Event

Hi Experts, I've this code in flex where I register a mouse out event listener - ... var b:Button = new Button(); b.addEventListener(MouseEvent.MOUSE_OUT, buttonOutHandler); ... private function buttonOutHandler(evt:MouseEvent):void { ... } Problem that I am facing is that sometimes when I move my mouse out of the display Obj...

leading and trailing whitespace stripped from content of a text node when loading an XML file

In actionscript 3, when trying to load an XML file like <Element><Property> a </Property></Element> the value in the node "property" will be just "a", trailing and leading whitespaces are removed. I did what http://bugs.adobe.com/jira/browse/ASC-3125 recomends, with no success. Any ideas? ...

problem in itemClick

if (theData.hasOwnProperty("@id1")) { var myObj:Hello = new Hello(); textArea.visible = false; panel.addChild(myObj); } else if (theData.hasOwnProperty("@id2")) { textArea.visible = false; var vijay:MCQ = new MCQ(); panel.addChild(vijay); } When i click on the next item, the previous window is sti...

How to insert the image on right top corner of panel header using flex?

Anybody help me How to insert the image on right top corner of panel using flex or action script . i used -<mx:Panel x="38.5" y="28" titleIcon="@Embed('image/logo.png')" id="register" width="375" height="534" layout="absolute" title="Registration Form "> titleIcon attributs but not use . so how to insert ? ...

Development tools for Adobe Flex/AIR?

I'm starting a new development position with a company that implements many of its products in Adobe Flex. What tools should I look to install (Ubuntu Linux options prefered) for Flex development? ...

Flex: Is there a way to bind ComboBox's selectedItem to a variable?

OK I have a ComboBox, the dataProvider is an array of objects with label properties that give the ComboBox the list of options. Is there a way I can have a variable like mySelectedItem, and bind the ComboBox's selectedItem to it so that if it changes, the ComboBox's selectedItem will change to whatever it is? I hope this makes sense. ...

E4X: Use string as attribute name in expression?

I have a function that has this line: var returnString:String = items[0].@month; @month is an attibute on an XML node like so: <xmlnode month="JAN"/> OK but I need to abstract the attribute name so I can pass a string to the function and get the contents of the attribute with the name matching the string I passed. So for example If...