<mx:Label id="lbl" text="{listData.label}"/>
While that does warn about listData.label not being bindable, it does work (at least for the initial load). Here's what I'm trying to do to do this in AS for another component that is written in AS:
lbl = new Label();
BindingUtils.bindProperty(lbl, "text", lbl, ["listData", "label"]);
This doesn't work. I can think of several ways I can do this by overriding different functions, but I'm wondering why this binding doesn't work like it does in MXML.
--
Jason __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.