1 Reply Latest reply on Jul 31, 2010 5:25 PM by Shongrunden

    states, components, & actionscript

    Cr99 Level 1

      How do you handle states in actionscript?  For example:

       

      var newState:State = new State();

      var comp:Group = new Group();

      comp.includeIn = newState;

       

      This is not valid code, but it's what I'd like to do.  I just don't know how to do it.