I want to have 2 dataproviders for 1 advancedDataGrid: 1 normal and second one for combobox in a one of columns. I want to have this combobox to have data from a column in database (i already have it in arrayCollection).
I just don't know how to provide data for comboBox in a way that it doesn't have to read that data from database every...
Acoustic Echo Cancellation (AEC) with Flash AS3?
What do I need?
Open Source Libs/wrappers.
Tutorials and blog articles on How to do it.
...
How do you make a List control wrap around to a second column (or multiple columns)? Thanks, let me know if there is a solution for this with the List control or some other Flex control.
For example, if you have one list with 42 items in it, but I want to cap the height of a list to 20 items; then instead of having one list with 42 item...
I need a simple rainbow trajectory motion in Flex builder.
We have 2 points [(x1, y1); (x2, y2)], we need to animate object from one to another over some simple rainbow trajectory like in this picture in 10 seconds
What libs could you suggest for such an operation?
...
I have various custom component instances in my flex app. I want to loop through them recursively and get their instance Ids. The recursive part is very important to me.
Can someone tell me what's the best way to do it?
I have tried doing this, but it didn't do recursive:
for each (var myItem:* in this.MasterContainer.childDescriptors)
...
Hello.
I have the next component, which is substituted into the data grid as rendered item.
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" click="navigateToURL(new URLRequest('{data.GetLink()}'), '_blank');">
The problem with click event, it doesn't work.
How correctly to make navigation VBox that url is substituted from the d...
Hi,
My requirement is to upload 5000 images to WAMP server from AIR client.
I am using URLRequest to upload the images.
The size of each image is about 285 KB.
Able to only upload about 300 images only. The server becomes unresponsive and the client stops uploading.
This is urgently required.
Please let me know how do I finetune for per...
How to create multiple processes in Adobe Air program? Docs? Tuts? Algorithms? (for ex I have some design logic and some services client logic i want to run them in separate processes) (Air 2.0 is ok for me)
...
Hi,
How to create a bubbling custom event in Flex 4?
To create and expose a custom event in MXML, you need to declare it at the component that will dispatch the event with this line:
<fx:Metadata>
[Event(name="select", type="my.engine.events.SelectionEvent")]
</fx:Metadata>
This allows you to:
<my:CustomComponent select="do...
I have a combobox with a width set to 100%. However, when one of its elements is larger, the combobox grows larger aswell, creating scrollbars and other uglyness in my app!
How do I keep the combobox contained within its parent?
NB it's OK if the list that drops down is larger as long as the closed combobox stays smaller.
Sample:
<?xml...
I've noticed that the default behaviour for a DataGrid's vertical scroll bar is to scroll one row at a time. This is all well and good when the rows are all uniform and small (e.g. displaying a single line of text), but gets really ugly as soon as you have rows with variable heights.
I'm curious, is there a way to make DataGrid scrollin...
For my custom components, when they go from enabled to disabled or disabled to enabled, I want to trigger a custom event.
I can't find any related events in the livedocs.
Any clues please?
...
Hello, i have an editable DataGrid, something like:
<mx:Datagrid editable="true" dataProvider="{arrayListPreferences}" id="preferencesGrid">
<mx:columns>
<mx:DataGridColumn header="col1" dataField="preference" editable="false"/>
<mx:DataGridColumn header="col2" dataField="value" editable="true"/>
</mx:columns>
</...
I want to extract/read the button icon image as a Flex image component, then apply transform filters to it to make it black/white and then apply image as an icon to another button.
Any ideas how I could do that?
So far I can get the icon out as an Object by doing this:
var iconImg:Object = myBtn.getStyle("icon");
Not sure how to conve...
Hi All,
I have an mxml application that is in flex_src directory and parallel to that i have two folders in which i have my action scripts files in certain package hirarchy like com.citi....something.I hv written a build.xml for this.For a simple stand alone mxml file it is creating swf file but in my case i m getting the following erro...
In my flex app I have various custom components done with mxml or actionscript.
I want all of them to extend a base-class where I can define properties/event listeners etc.
Can someone give me an example how to create that base class and how I can extend it in mxml and actionscript components?
...
Hi!
I have some simple function in Flex in which I would like to send one of my variables to all the components used in my app... The problem is that there is lots of components in my app, and I'm not sure how to reference to my component's id... Basically, is there an easier way to do this;
private function preloadStuff():void{
//...
Hi everybody :)
I have a Main Application ("MainFile") and I want to start another Application (WindowedApplication) when the user clicks on a button. I want to do this via Action Script; Anyone knows how to do it?
I have tried NativeApplication.nativeApplication.initialize() function, but it returns me "Error #1009: Cannot access a pr...
I have an MXML component in a website that I am reusing in a few different screens.
Based on what the user clicks, the component initializes a few values and starts playing media.
Now if I click through the site, and I play media in screen 1, the component initializes fine and plays the media.
If I then go to screen 2 and play the medi...
In flex 3, with List component, you could add an effect to the itemChangeEffect property, allowing you to animate the addition/removal of the items in the list control.
The equiv in the spark list appears to be the rendererAdd and Removed events, but this doesn't allow complete control over the effect, since removal is done as soon as t...