hi viku ,
 
i hope i'm not saying anything wrong since i'm also starting with flex but,
 
if you have this in your mxml file
...
<mx:Button id="myButton" />
...
 
you should be able to access it in your as file like this,
first declare it as a public variable in your class
...
public var myButton:Button;
...
and then you should be able to work with it
...
myButton.label = "hello there";
...
 
cheers
 
 
 
 


 
On 9/4/06, viju kumar <[EMAIL PROTECTED]> wrote:

Hello Group,

We need to access the component defined in the mxml
into the actionscript file. But we are unable to get
the access of the component in class file.

How can we access the controls in the class file from
mxml file.

Please help.

Thank You
vijay

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to