RE: [flexcoders] Re: accessing a different component once inside one of them

2005-07-24 Thread Steven Webster
Ghislain, There are a number of different ways of doing this, both covered in "Developing Rich Clients with Macromedia Flex". Crudely, you could refer to mx.core.Application.application.vs1 (mx.core.Application.application is a static reference to the top-level of your app). Alternatively, you

Re: [flexcoders] Re: accessing a different component once inside one of them

2005-07-24 Thread Sreejith Unnikrishnan
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.     [Event("changeSelection")] Then pass that event to the main app using dispatchEvent({type:"changeSelection", variables}); Your function changeStack