2 Replies Latest reply on Jun 18, 2011 5:34 PM by Shongrunden

    Resize Transition Reversed?

    broconne

      I have an image declared thusly:

       

      <mx:Image source="@Embed(source='x3650m2.png')" scaleX=".5" scaleY=".5" id="x4" includeIn="LoadBalancerAdd,Live"/>

       

      Later, when I transition to a new state, I apply the following effect chain:

      <s:Transition toState="Live">

       

      <s:Sequence>

       

      <s:Move target="{x4}" duration="1000"/>

      <s:Resize target="{x4}" widthBy="{x4.width*2}" heightBy="{x4.height*2}"/>

       

      </s:Sequence>

       

      </s:Transition>

       

       

      I watch the effect take place, the item is moved and in fact resized.. But as soon as the resize is complete it reverts back to its original size..  Anyone know why?