Try using a listener to listen to "change" of the list so when the list
changes it gets updated.
<code>
var listenerObject:Object = new Object();
listenerObject.change = function(eventObject:Object) {
// Your code here.
};
listInstance.addEventListener("change", listenerObject);
</code>
That's taken from the Help files.
-Gerry
> Hi guys,
>
> I have a list component that I add objects to. I use the labelFunction
> field to set the label.
> It works fine, but if I change the object name, the List doesnt update.
> Is there a way to get the list to update the the labels after object
> changes?
>
> TIA
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com