2 Replies Latest reply on Jul 18, 2011 10:45 AM by RayGZ

    How do I display AS3 Object in only one state?

    RayGZ

      I created a AS3 object from a SWFLoader class as an animation, which I then place in a Flex stage.  I need to display the object programmatically in only one state but there is no "includeIn()" method to include it in just one state.

       

      Right now, it is showing up on all of the flex states.  I add this object at different times and positions in the state.  Everything is fine except it displays in all the states.

       

      How do I display a AS3 object in only one state?

       

      Thank you.