You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/12/16 04:14:07 UTC

[jira] [Updated] (FLEX-33974) - playheadTime - NaN

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

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

    Labels: easyfix easytest  (was: )

> <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
>              Labels: easyfix, easytest
>
> 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.4#6159)