Re: [flexcoders] F2B2 States: How to clear/remove a style set in a state

2006-04-30 Thread Manish Jethani
On 4/27/06, revanisle [EMAIL PROTECTED] wrote: mx:states mx:State name=LEFT mx:SetStyle target={PREVIEW} name=left value=0/ mx:SetStyle target={PREVIEW} name=right/ /mx:State [snip] What actually happens is that whichever state is used first works fine, but when I switch to the other

[flexcoders] F2B2 States: How to clear/remove a style set in a state

2006-04-27 Thread revanisle
Hi all, For simplification, let's say I have an app with two states as follows: mx:states mx:State name=LEFT mx:SetStyle target={PREVIEW} name=left value=0/ mx:SetStyle target={PREVIEW} name=right/ /mx:State mx:State name=RIGHT mx:SetStyle target={PREVIEW} name=left/ mx:SetStyle

RE: [flexcoders] F2B2 States: How to clear/remove a style set in a state

2006-04-27 Thread Matt Chotin
In reading the B3 code at least leaving the value unset should go ahead and clear the style. Also passing {null} should do it. But you know, if the states arne't related to each other (no based on) just having the SetStyles for the ones you care about should be enough, we'll automatically