You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Tim John (JIRA)" <ji...@apache.org> on 2016/02/06 15:42:39 UTC

[jira] [Commented] (FLEX-28402) Transition with a bounce easer acting on top/left constraint values doesn't bounce

    [ https://issues.apache.org/jira/browse/FLEX-28402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135796#comment-15135796 ] 

Tim John commented on FLEX-28402:
---------------------------------

This applies to any easing applied to a Move effect in a transition based on contraints.

> Transition with a bounce easer acting on top/left constraint values doesn't bounce
> ----------------------------------------------------------------------------------
>
>                 Key: FLEX-28402
>                 URL: https://issues.apache.org/jira/browse/FLEX-28402
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: Effects
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)