Thanks for the idea!  I'll test this myself but seems like this is a 
solution for modifying an explicitly defined state property rather 
than the default state...  I've also been experimenting with 
manually setting some properties of the move transition that is 
responsible for sending the component back to it's original location.

--- In flexcoders@yahoogroups.com, "Peter Hall" <[EMAIL PROTECTED]> 
wrote:
>
> 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