Try:

[Bindable]var myText:String = "I am beginner";

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of edvard.karvinen
Sent: Monday, March 05, 2007 7:36 AM
To: [email protected]
Subject: [flexcoders] How can I pass variables to mx-code?

 

Hello.

I have very simple problem, which I cannot solve. How can I pass
variables from actionscript 
to mx code. 

For example:
var myText:String = "I am beginner";

...

<mx:Label text="{myText}/>

I know {myText} doesn't work, but I hope you got my point. How can I do
this?

 

Reply via email to