[flexcoders] Error on actionscript state change using RemoveChild

2012-04-12 Thread DancesWtihElves
I have an actionscript component (a View) with a number of states defined in the following manner: var stateDefault:State = new State(); stateDefault.name = DefaultState; stateDefault.overrides = new Array();// array of IOverride states.push(stateDefault); stateDefault.overrides.push(new

Re: [flexcoders] Error on actionscript state change using RemoveChild

2012-04-12 Thread Alex Harui
I think you can make your own RemoveElement state and push it instead of RemoveChild. On 4/12/12 3:40 PM, DancesWtihElves ka...@hartleys.net wrote: I have an actionscript component (a View) with a number of states defined in the following manner: var stateDefault:State = new State();