[ https://issues.apache.org/jira/browse/FLEX-35319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043961#comment-16043961 ]
Justin Mclean commented on FLEX-35319: -------------------------------------- Nice fix tested and working. Profiled sample application time down from 1500ms to 800ms :-) > 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)