1 Reply Latest reply on Nov 8, 2013 9:24 PM by Flex harUI

    flex 4 states and using includein with actionscript

    pol2095 Level 1

      Hello,

       

      How do you handle states and the "includeIn" tag in ActionScript? For example:


      var vGroup:VGroup = new VGroup();
      var initialState:State = new State();
      initialState.name = "initialState";
      initialState.overrides.push(new AddChild(this, vGroup));
      this.states.push(initialState);
      

       

      This is not valid code, but it's what I'd like to do.

       

      Thanks