[flexcoders] Can a Transition be used for addedEffect / removedEffect?

2006-11-05 Thread Bruce Denham
I'm not finding any documented examples and something like this doesn't seem to work for me: mx:states mx:State name=ShowForm mx:SetProperty name=visible value=false target={mypanel1}/ mx:RemoveChild target={mypanel1}/

RE: [flexcoders] Can a Transition be used for addedEffect / removedEffect?

2006-11-05 Thread Dustin Mercer
Bruce, The answer is yes, although it takes some playing with to get it right J here is an example of a fading transition. The key here is the RemoveChildAction effect and the AddChildAction effect in the transition. These allow you to control when the RemoveChild and AddChild state