[flexcoders] Bind label to class attributes

2006-07-17 Thread Jonas Windey
Hi, I use the following code:

[Bindable]
public var currentUser:FtpUser;

In my titlewindow, I have:

title=User settings ({currentUser.name})

This is working perfect, I fill the currentUser from inside the caller of
the titlewindow, and it's setting the correct result.
However, I get a warning that Data binding will not be able to detect
assignments to name.
Any way to get rid of that? It's not that there's an error, it's just
annoying :-)

Thanks,
Jonas




 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/
 




RE: [flexcoders] Bind label to class attributes

2006-07-17 Thread Dirk Eismann
You'll have to either make the name property of your FtpUser class
[Bindable] as well or set [Bindable] on the FtpUser class level.

Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey
 Sent: Monday, July 17, 2006 10:07 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Bind label to class attributes
 
 Hi, I use the following code:
 
 [Bindable]
 public var currentUser:FtpUser;
 
 In my titlewindow, I have:
 
 title=User settings ({currentUser.name})
 
 This is working perfect, I fill the currentUser from inside 
 the caller of the titlewindow, and it's setting the correct result.
 However, I get a warning that Data binding will not be able 
 to detect assignments to name.
 Any way to get rid of that? It's not that there's an error, 
 it's just annoying :-)
 
 Thanks,
 Jonas
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- Something is new at Yahoo! Groups.  
 Check out the enhanced email design.
 http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/