Commit 35b9f49d authored by Daniel Rossi's avatar Daniel Rossi
Browse files

- #163 fixes for buffer animation timer

parent 1f63b4af
......@@ -28,16 +28,17 @@ import flash.utils.Timer;
public function RotatingAnimation() {
_rotationTimer = new Timer(50);
//#163 weak reference event
_rotationTimer.addEventListener(TimerEvent.TIMER, rotate, false,0,true);
_rotationTimer.addEventListener(TimerEvent.TIMER, rotate);
public function start():void {
_rotationTimer.addEventListener(TimerEvent.TIMER, rotate);
public function stop():void {
_rotationTimer.removeEventListener(TimerEvent.TIMER, rotate);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment