07-01-2011 04:55 AM
Your need to make the array bindable
internal var listOfItems:Array = new Array();
then when the array changes, the code is put into place to ensure anything that uses the array is updated.
Now just assign the array to the component (psudo code here)
component.dataprovider = listOfItems;
07-01-2011 05:35 AM
Could you provide more code as an example
I am trying to load a list of .mp3 files from a folder or assests into a ListBox and then once clicked assign the filename to the button along with the sound.