I have multiple ViewStack components in my applicatin and want to assign individual handlers to each. However, after much trial and error, only the first viewStack get assigned my handler. The other ViewStack components however, never trigger their handlers .
This is my code:
So Handler1 gets triggered when I changed the view of ViewStack1, but
Handler2 NEVER gets triggered when I changd the view of ViewStack2 .
Any idea why?
Do you use Flash Debugger Player? If so, do you get any warnings or errors? If not, are you sure that your second ViewStack component has been created before you add the listener?