1 Reply Latest reply on Aug 10, 2010 3:28 AM by Balakrishnan V

    States and dynamic targets

    Tim John



      I'm a little confused about how to do this. In Flex 3 it was pretty straight forward, and documented too.


      Essentially, I have 2 states: 'default' and 'areaOpen'. When clicking on one of the many buttons on screen I want to switch from default state to areaOpen. This should reparent, then move and resize the currently selected button to fill the screen. It seems with the new states system you are unable to reference dynamic targets.


      I thought about creating states within each button, but that makes it difficult to manage and I still can't figure how I'd manage the to the main application and back.


      Any ideas how I could do it?