flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Dove (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLEX-35319) Tweens effect timer not stopped
Date Tue, 06 Jun 2017 22:02:18 GMT

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

Greg Dove reassigned FLEX-35319:
--------------------------------

    Assignee: Greg Dove

> 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: Greg Dove
>
> 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)

Mime
View raw message