Hi Vishal,
You could get the access to ur component in another way
also.. where u can pass the reference of the component to ur action
script class..
I think it will be easiest way .. if that include stmt isnt working..
Lets take one example;
say u have declared one Canvas in application where
"id=page" no u want to access this in action script class ,now write
listener function on canvas
Where create Object of the ActionScript class .. pass object of the
canvas to constructor .. now u would get the access to canvas..
Similarly u can pass reference of any component .. will get the
access..
If u find any other way then please let me know..
thanks
Regards,
Akshay
On Feb 13, 3:52 pm, vishal lad <[email protected]> wrote:
> Hi,Suppose that I have one mxml(component not application) file and
> corresponding .as file.In my .mxml file there is one combo box with
> id=cmbStatus.Now I want to access the value of this cmb box in .as file.How
> can I do this.I had tried creating Instance of mxml component for accessing
> cmb box in my .as file but it is not working.Is there any other way to
> achieve this??
>
> Thanks & Regards
> vishal
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---