Hi, If you look at this link of Flex Documentation:
http://livedocs.macromedia.com/flex/15/flex_docs_en/00000695.htm You will find the following in the end: Note: Array elements do not trigger ChangeEvents and, therefore, cannot function as binding sources at runtime. Binding copies initial values during instantiation after variables are declared in an <mx:Script> tag, but before handlers are executed. Arrays that are bound do not stay updated if individual fields of a source Array change. I don't remember the exact workaround of this problem, please check the flexcoders archive I am sure this has been dicussed many times. Also check the FAQ, I think it might be there also. FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -abdul -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Salvador Sent: Tuesday, September 06, 2005 8:08 PM To: [email protected] Subject: [flexcoders] Binding question Hi all, When I bind a text label to the first position of an array like this : <mx:Label text={ ModelLocator.SOMEARRAY[0] } /> The text shows the first item of the array correctly. When I add a new item to the array, the text of the label does not change so it seems the binding is not really working. I know Im adding items to the array correctly because I have a list bound to ModelLocator.SOMEARRAY and it's working fine. What am I doing wrong? Thanks in advance -- Alberto Albericio Salvador Aura S.A. Seguros Departamento Informática -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

