You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Denisov Pavel (JIRA)" <ji...@apache.org> on 2013/12/03 14:26:36 UTC
[jira] [Created] (FLEX-33974) - playheadTime - NaN
Denisov Pavel created FLEX-33974:
------------------------------------
Summary: <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
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#6144)