flex

Is there a css attribute to specify a background color for a LinkButton's up state?

There are styles for over and clicked but no up state. Is it possible? ...

How can I access the in-progress SummaryRow in the summaryFunction of a GroupingCollection?

In Flex 3, I'm using a GroupingCollection to create a hierarchical display of data in my app. One of the summarizations I'm doing requires access to another value in the summary row; I'm calculating the average of a column in one place that is necessary for the calculation of a related value in a second summary column. This related value...

In flex how do I pass data retrieved from a remote object service to a modules interface?

I found at this Adobe tutorial a nice "RemoteService" class that creates a RemoteObject and contains the functions for handling the result and fault events. If I wanted to use this approach, how could I pass the data from the result handler to interfaces that modules from the main application could use? I could put the RemoteService/Re...

How do I display grouped XML data in a Flex pie chart?

I've looked into grouping XML data with GroupingCollections and AdvancedDataGrids, but I can't figure out how to display that data in a chart. Basically, what I want to do is group the data by the category field, which should give me two rows under red, one under blue, and one under green. When inputting this data into the pie chart, it...

Cancel text selection on textinput in Flex

So the real problem is the lack of an onReleaseOutside function. I found some examples of how to bypass this during a drag function but it was not applicable for a text input. The problem is that when a user selects some text in textinput and mouses off the application area and then mouses up, I'm getting a problem that the textinput ke...

How can I automate build of multiple swfs from Flash Builder 4?

I'm working on a project that has a Main.fla and a Preload.fla. I am doing all the coding in Flash Builder 4. Each time I want to test I have to go to Flash CS5, publish Main.swf and then run Preload.swf. Is there a way to automate this process so I can just press the "Run Main" button inside Flash Builder 4 and all that is done automati...

What are the differences between flex mxml and actionscript-3

What are the differences between flex mxml and as3. ...

Want to retrieve data from database using Flex+Cairngorm framework..

Hi.. I am new to cairngorm framework.. I need to retrieve the table data to flex UI using Flex + Cairngorm and PHP + MYSQL.. I got it using Flex alone using xml + PHP + MYSQL.. But in this case, i can't get the table data values.. Need a sample application with source code.. Help me.. Please.. Thanks in advance.. ...

Ant MXMLC task with arbitrary list of source/lib paths?

Does anyone know of a way to use the mxmlc task of the Flex Ant tasks with a user-definable list of source path or library paths? The idea is that the user can define an arbitrary list of source paths and/or library (swc) paths into an Ant properties file and the build file takes these values and evaluates them for use in the mxmlc task....

Displaying Flex Object References

I have a bit of a memory leak issue in my Flex application, and the short version of my question is: is there any way (in AcitonScript 3) to find all live references to a given object? What I have is a number of views with presentation models behind each of them (using Swiz). The views of interest are children of a TabNavigator, so when...

How to get the server time in flex

I want to display the digital clock in my project which should display the server time. ...

Flex: Error on Scrolling Vertically in a DataGrid

i have this code <mx:DataGrid id="tempListDG" itemDoubleClick="doubleClickHandler(event)" width="100%" height="100%" rowHeight="110" draggableColumns="false" sortableColumns="false" allowMultipleSelection="false"> <mx:columns> <mx:DataGridColumn id="chkSel" headerText=" " width="15" sortable="fa...

flex chats grid style

hi, How to change the flex chart grid style like dotted line? ...

how can we implement movable flex buttons or other controls on canvas or SBorderContainer ?

how can we implement movable flex buttons or other controls on canvas or SBorderContainer ? any clue, or solution.. ...

How to install .air files with air2beta

I have some troubles installing air files that've been built with air2.0beta or air2.0beta2 They both do not install (error message: 'your need an update to install this air application) even though I've got the latests Air2 runtime installed. Any suggestions on this? ...

Adobe air air.navigateToURL bug with internet explorer

Hello I have a really bizarre problem with my adobe air app. I have a method which launches a local HTML file and passes some querystring items to it. Here is the code: function printWin(def) { def = encodeURI(def); var req = new window.runtime.flash.net.URLRequest('print.html'); req.method = 'GET'; var urlvar...

How to get informative compile error messages when using flexmojos-maven-plugin?

I'am using flexmojos-maven-plugin to build my Flex module. So on the compile phase I'm getting org.apache.maven.plugin.MojoExecutionException: Error compiling! with no information on where (at what source file) the error happens and what is nature of the compile error. I'll appreciate if anyone can instruct me on how to make flexm...

programmatically add views to a viewstack flex

Hi, I'm trying to figure out how to in as3 (not mxml) add views to a view stack. For example I have a view component like so package components.screens { import mx.controls.Label; import mx.core.UIComponent; public class HomeScreen extends UIComponent { private var l:Label=new Label() public function ...

Generating arguments for the mxmlc Flex Ant task

My ActionScript project builds with several compile-time specified constants. They are all Booleans, and only one of them is true at any given time. The rest must be false. When I represented my build process in a bash script, I could loop through the names of all these constants, set one of them to be true and the rest to be false, the...

Resizing columns in adobe flex AdvancedDataGrid

Hi, I'm using an AdvancedDataGrid without the header row (AdvancedDataGrid.showHeaders="false"), my AdvancedDataGrid has 2 columns, where the first one will show a hierarchical data (tree). The tree may be very long and very deep or may contain a long string in the node label so the user will not be able to see the whole vale of the tree...