Give an id to each state override that you need to modify. e.g.:

                <mx:State name="newState">
                        <mx:SetProperty id="setXOverride" target="{obj}" 
name="x" value="10" />
                </mx:State>

Then you can do:

                setXOverride.value = 100;



Peter


On Nov 20, 2007 11:40 PM, jandersen1978 <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I've got a component that moves to the center of the screen with a
>  state transition. Normally when it leaves this centered state it
>  should go back to it's original x/y location... However, based on
>  other application conditions I sometimes want it to move to a
>  different location when it leaves the centered state. How can I
>  update the root/default state while the component is centered so that
>  it will move to a new location when it exits the centered state?
>
>  

Reply via email to