Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-21214

spark.effects.Resize+Move - When Combined In This Example, Move In X is Snapped And Not Animated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: Effects
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Found while manually running latest checkins. I am investigating when this regression was checked-in.

      Steps to reproduce:
      1. Compile and run the pasted files.
      2. Click the T_RM_ACT button.

      Actual Results:
      The target snaps to the left (it's final x location).

      Expected Results:
      The target should animate from it's position to the left, while also animating downward and resizing.

      APP:
      <?xml version="1.0" encoding="utf-8"?>
      <s:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo"
      width="600" height="800"
      backgroundColor="0x000000">
      <s:layout>
      <s:BasicLayout/>
      </s:layout>

      <s:states>
      <s:State name="State1"/>
      <s:State name="State2"/>
      </s:states>

      <s:transitions>
      <s:Transition id="t_s1" fromState="*" toState="State1"/>
      <s:Transition id="t_s1s2" fromState="State1" toState="State2">
      <s:Parallel id="t_rm_act" target="

      {invader1}

      " duration="3000" >
      <s:Resize />
      <s:Move3D autoCenterTransform="true" applyLocalProjection="false"/>
      </s:Parallel>
      </s:Transition>
      </s:transitions>

      <!-- Background -->
      <mx:VRule x="300" height="800"/>
      <mx:VRule x="250" height="800"/>
      <mx:VRule x="200" height="800"/>

      <s:Group id="invader1"
      x.State1="250" x.State2="200"
      y.State1="0" y.State2="700"
      width.State1="100" width.State2="200"
      rotationZ.State1="0" rotationZ.State2="0">

      <s:Rect left="0" right="0" top="0" bottom="0">
      <s:fill>
      <s:SolidColor color="0x999999"/>
      </s:fill>
      </s:Rect>
      <s:BitmapImage source="Invader.png" left="0" right="0" top="0" bottom="0"/>
      <s:filters>
      <s:DropShadowFilter/>
      </s:filters>
      </s:Group>

      <s:VGroup right="0">
      <s:Button label="To S1" click="currentState='State1'" width="150"/>
      <s:Button label="T_RM_ACT" click="currentState='State2'" width="150"/>
      </s:VGroup>

      <mx:HRule width="400" y="100" baseColor="red"/>
      <mx:HRule width="400" y="700" baseColor="red"/>
      <mx:HRule width="400" y="750" baseColor="red"/>
      <mx:HRule width="300" y="790" baseColor="red"/>

      </s:Application>

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: