flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33974) <s:Fade/> - playheadTime - NaN
Date Mon, 23 Dec 2013 22:52:50 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean updated FLEX-33974:
---------------------------------

    Attachment: animation.diff

Patch for issue, tests not 100% passing.

> <s:Fade/>  - playheadTime - NaN
> -------------------------------
>
>                 Key: FLEX-33974
>                 URL: https://issues.apache.org/jira/browse/FLEX-33974
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: Effects
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Denisov Pavel
>            Assignee: Justin Mclean
>              Labels: easytest
>         Attachments: animation.diff
>
>
> Steps to Reproduce:
> <?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"
>                initialize="init()">
>     
>     <fx:Script>
>         <![CDATA[
>             private function init():void
>             {
>                 var tm:Timer = new Timer(40);
>                 tm.addEventListener(TimerEvent.TIMER, onTimer);
>                 tm.start();
>                 
>                 _scale.play();
>                 _fade.play();
>             }
>             
>             private function onTimer(event:TimerEvent):void
>             {
>                 trace(_scale.playheadTime, _fade.playheadTime);
>             }
>         ]]>
>     </fx:Script>
>     <fx:Declarations>
>         <s:Scale id="_scale" target="{this}" duration="100" startDelay="200"/>
>         <s:Fade  id="_fade"  target="{this}" duration="100" startDelay="200"/>
>     </fx:Declarations>
>     
> </s:Application>
> Actual Result:
> NaN NaN
> 54 NaN
> 85 NaN
> 138 NaN
> 177 NaN
> 223 223
> 255 255
> Expected Result:
> NaN NaN
> 54 54
> 85 85
> 138 138
> 177 177
> 223 223
> 255 255



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message