Hi dlo, Tried out what you suggested. Thank you:) Sindhu. On Apr 17, 4:08 pm, Sindhu <[email protected]> wrote: > Hi Ashish, > It worked!! Thanks for the help:) > Sindhu. > > On Apr 17, 2:19 pm, AshishMishra <[email protected]> wrote: > > > > > Hi Sindhu, > > > on the click event of button, call a method, inside that method create > > an object of the component like this: > > > var comp:Compoenent = new Component(); > > comp.id = "compId"; > > comp.height = 100; > > comp.widht = 100; > > > cont..addChild(comp); > > > This will add this component. I think this will help. > > > Regards > > Ashish > > > On Apr 17, 10:12 am, Sindhu <[email protected]> wrote: > > > > Hi,>>I have an mxml application and an mxml component. > > > >>Adding the component within the application is working fine (i.e using > > > >>xmlns:comp...) > > > >>But i want the contents of the mxml component to appear only when a > > > >>button is clicked from the mxml application( i.e the button would > > > >>call a function which in turn must display the contents in the > > > >>component) > > > >>Can someone please tell me if this is possible, and if it is, how?? > > > > Thanks, > > > Sindhu.- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

