flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim John (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLEX-28402) Transition with a bounce easer acting on top/left constraint values doesn't bounce
Date Sat, 06 Feb 2016 14:47:39 GMT

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

Tim John edited comment on FLEX-28402 at 2/6/16 2:46 PM:
---------------------------------------------------------

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

A workaround that doesn't require swicthing to x/y coordinates would be to replace the Move
effect with an Animate effect, with a SimpleMotionPath for each of the constraints to be animated.


was (Author: timwjohn):
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)

Mime
View raw message