Thanks for reply,But this is not working for mxml components.It works for main mxml file and its corresponding actionscript file. Or may be I am doing something wrong!!
On Fri, Feb 13, 2009 at 5:34 PM, Nargis <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---

