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

Transition with a bounce easer acting on top/left constraint values doesn't bounce

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • Spark: Effects
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run this application:

      <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark">

      <s:states>
      <s:State name="aState"/>
      <s:State name="bState"/>
      </s:states>

      <s:transitions>
      <s:Transition>
      <s:Move targets="

      {[btn]}

      " duration="3000">
      <s:easer>
      <s:Bounce />
      </s:easer>
      </s:Move>
      </s:Transition>
      </s:transitions>

      <s:Button id="btn" click="this.currentState = (this.currentState == 'aState')?'bState':'aState';"
      top.aState="10" left.aState="10" top.bState="300" left.bState="300"/>

      </s:WindowedApplication>

      2. Click the button
      3.

      Actual Results:

      The button moves with what appears to be a linear ease

      Expected Results:

      The button should move with a bounce ease

      Workaround (if any):

      Use x/y to position the Button instead of top/left

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: