0 Replies Latest reply on Jan 10, 2008 3:33 PM by jacekskowron

    Changing state in component

    jacekskowron
      Hello
      I try to make a panel transitions just like here:
      http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor.cfm
      Basically there is a component SimpleFlipTransition.mxml which nicely changes states (every state is in separate file). In every separate file there is a button which enables to change states. It's click action is: click="dispatchEvent( new Event( Event.CHANGE ) );

      When I go one step up and I try to change states from SimpleFlipTransitons I do it by: click="setCurrentState=''".

      Here are my questions.
      What if I try to put a SimpleTransitonComponent into my main application - how can I change states in it then?

      Thank a lot for any reply.

      Best regards
      Jacek Skowron