if you have an AS file (not AS class) than in your mxml page just add
following line
<mx:Script source="asFilename.as"/>

now in your AS file you will get access of cmbStatus.

-Nargis Himani

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to