Thanks, Actually like viewstack - i.e on click of togglebuttonbar, component pages gets displayed and all other are hidden behind. I want the same thing on LinkButton click. My first component is - trading.mxml : It contains a LinkButton. On click of the link button it should hide the first component and display the second component stockFinder.mxml How components gets loaded in viewstack I want the same way but on clicking on button. I do not want to call any method, just that .mxml file should be displayed and the first .mxml file should hide itself.
Can you please sugget any soultion. THanks, Prajakta On Jun 12, 5:48 pm, Sumant <suman...@gmail.com> wrote: > Basically, we should follow proper architecture to handle these types > of problems like Cairngorm Microarchitecture. If you don't know any > type of achitecture then you can follow the below method: > > if those components are in Main Application then create a public > function in the second component. When you click on the button call > "this.parentApplication.secondComponentId.publicFunctionName()" > > But this is very temporary solution. > > On Jun 12, 2:19 pm, Praju <prajakta.mus...@gmail.com> wrote: > > > > > Hi All, I have a LinkButton in one component.On click it should call > > another component. > > How can I do this? Both the components are present in the same folder. > > Thanks for your help !! > > Prajakta- 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 flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---