Are you talking about binding?
<mx:Label text="{ myObj.labelText }"/>
If your custom object has a String property that you want to display in a
Label, you just reference it by name.
Rob Rusher
RIA Consultant
Macromedia Certified Flex Instructor
e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher
blog:http://www.robrusher.com
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Monday, January 30, 2006 3:22 PM
To: [email protected]
Subject: [flexcoders] How do you reference an object to get attributes for a
tag?
I wanna do something like this:
<mx:Label text = a dynamic custom object />
So far I have not hit upon the magic combination through research and
trial and error : (
Thanks,
Libby
--
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
--
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/