Hello,

you can access the mxml component through its id in actionscript.


For example,
public function init():void
{
 trace("Sample Text::" +  sampleTxt.text)
}

---------------------------

<mx:TextInput id="sampleTxt" text="Hello World" />

Regards,
Mahek

On Mon, Sep 13, 2010 at 12:13 AM, lalith <[email protected]> wrote:

> how to access mxml elements from actionscript?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to