1 Reply Latest reply on Nov 8, 2008 8:28 PM by m_hartnett

    Best practice - transitions without state?

      I'm noticing that, sometimes, its easier to just do a Transition on a component without having the changes in a State.

      For example, I can't seem to get a sequence of Resize effects when the properties are set in State, but I succeed when I empty out the state. No combination of SetPropertyAction seems to work.

      Is this a best practice? Or is it considered sloppy? How do you decide what to put in a State, and what to put in a Transition?
        • 1. Best practice - transitions without state?
          m_hartnett Level 3
          I have been coding Flex for a little over 2 years and the first project used states. We moved away from states because we ran into a couple bugs (in Flex 2) and it made the code less easy to read and organize.

          Transitions seemed more natural from a coding aspect. So now most everything is done in transitions and once in a while a custom component will use states.