1 Reply Latest reply on Jul 12, 2010 2:50 AM by MikisMM

    Multiple ViewStacks cannot have individual Handlers?

    Malena Mesarina Level 1

      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:

       

      ViewStack1.addEventListener(IndexChangedEvent.CHANGE, Handler1);

      ViewStack2.addEventListener(IndexChangedEvent.CHANGE, Handler2);

       

      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?

       

      thanks

       

      -Malena