RE: [flexcoders] (without Cairngorm) Data binding will not be able to detect assignments...

2006-07-03 Thread Tracy Spratt












Try:

[Bindable]

var currClient:Client;

 

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derek Stottlemyer
Sent: Monday, July 03, 2006 1:34
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] (without
Cairngorm) Data binding will not be able to detect assignments...



 







Hello all,
I have the same problem without Cairngorm. I'm trying to bind a Class
property to a Label as well...

extending the Class as an ObjectProxy or not doesn't make a difference. I've
also tried moving [Binding] above public var fullname to no avail.

Can anyone offer a suggestion?

Thanks,
Derek

MY MXML

8"?>
http://www.adobe.com/2006/mxml"
layout="absolute"
creationComplete="init()">



//This is the line that gives me trouble. I get an alert that "Data
Binding
will not be able to detect assignments to 'currClient'" When
compiled, this
label is blank.

//This label shows "show Joe Smith" as expected.



MY CLASS(Client);

package
import mx.utils.ObjectProxy;
[Bindable]
public class Client extends ObjectProxy
{
public var fullname:String;

function Client(x:XML):void{
fullname=x.fname+" "+x.lname;
}
public function Showname():String{
return fullname;
}
}
}






__._,_.___





--
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.



  






__,_._,___






[flexcoders] (without Cairngorm) Data binding will not be able to detect assignments...

2006-07-03 Thread Derek Stottlemyer
Hello all,
I have the same problem without Cairngorm. I'm trying to bind a Class
property to a Label as well...

extending the Class as an ObjectProxy or not doesn't make a difference. I've
also tried moving [Binding] above public var fullname to no avail.

Can anyone offer a suggestion?

Thanks,
Derek


MY MXML


http://www.adobe.com/2006/mxml"; layout="absolute"
creationComplete="init()">



//This is the line that gives me trouble. I get an alert that "Data Binding
will not be able to detect assignments to 'currClient'"  When compiled, this
label is blank.

//This label shows "show Joe Smith" as expected.



MY CLASS(Client);

package
import mx.utils.ObjectProxy;
[Bindable]
public class Client extends ObjectProxy
{
public var fullname:String;

function Client(x:XML):void{
fullname=x.fname+" "+x.lname;
}
public function Showname():String{
return fullname;
}
}
}







 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/