Justin Mclean created FLEX-35319:
------------------------------------

             Summary: 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


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)

Reply via email to