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 2017/06/09 05:33:18 UTC
[jira] [Closed] (FLEX-35319) Tweens effect timer not stopped
[ https://issues.apache.org/jira/browse/FLEX-35319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean closed FLEX-35319.
--------------------------------
> Tweens effect timer not stopped
> -------------------------------
>
> Key: FLEX-35319
> URL: https://issues.apache.org/jira/browse/FLEX-35319
> Project: Apache Flex
> Issue Type: Bug
> Components: FlexJS
> Affects Versions: Apache FlexJS 0.7.0
> Reporter: Justin Mclean
> Assignee: Justin Mclean
>
> This code is doesn't stop the timer:
> private static function removeTween(tween:Tween):void
> {
> delete activeTweens[tween.id];
> if (activeTweens.length == 0)
> timer.stop();
> }
> As activeTweens is an Object not an array, length is undefined, so timer.stop() never gets called.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)