From d43eabc15641927cfd8ecd4ec8f017784dc35e02 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Fri, 4 May 2007 00:41:32 +0000 Subject: [PATCH] We should be removing ourselves from our parent when we're finished. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@225 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/FloatingTextAnimation.as | 1 + 1 file changed, 1 insertion(+) diff --git a/src/as/com/threerings/flash/FloatingTextAnimation.as b/src/as/com/threerings/flash/FloatingTextAnimation.as index b7d29396..a3cd4ad7 100644 --- a/src/as/com/threerings/flash/FloatingTextAnimation.as +++ b/src/as/com/threerings/flash/FloatingTextAnimation.as @@ -69,6 +69,7 @@ public class FloatingTextAnimation extends Sprite var perc :Number = elapsed / duration; if (perc >= 1) { AnimationManager.removeDisplayAnimation(this); + parent.removeChild(this); return; }