|
What you are trying to do would not work as far I as know. What you shoud be doing is creating an eventListener in myComp1 like below. <mx:Metadata> [Event("changeSelection")] </mx:Metadata> Then pass that event to the main app using dispatchEvent({type:"changeSelection", variables}); Your function changeStack should be in the mainApp. In your main app, you should be able to consume this event. Maybe there are better ways using delegates. But this should get you started. I suggest you read the "Developing Flex Applications" help doc. Sree Ghislain Simard wrote: How can I connect back to a another stack component in the main -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS
|
- Re: [flexcoders] Re: accessing a different component... Sreejith Unnikrishnan
- RE: [flexcoders] Re: accessing a different comp... Steven Webster

