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
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
2 matches
Mail list logo