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?
cant you just use the visible property depending on the currentState
When i use visible property as you suggested, it works, but only on one object. I am generating more than one of these objects, so there could be 3 or 4, etc of these objects displaying concurrently at different x y positions in the state.
Is there a way to grab all of the objects created by this AS3 class at once and apply the visible property?