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
...
...
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 yo
Hi vijay,
If you're saying you want to be able to get to a component that's
located in the MXML file from your ActionScript Class, you could also
do it like this:
//some useful imports
import mx.controls.TextArea; //import the component into the class
import mx.core.Application; //for commu
Hi,import should work?Please give some more details whenever you post questions. Thanks-abdulOn 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
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
__
4 matches
Mail list logo