From bb40bd533a7ce3342905451fccec18a43666056c Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Fri, 8 Sep 2006 18:34:12 +0000 Subject: [PATCH] Reverted a recent change: I was shutting down when we were detached from our parent, but we don't want to do that for most sprites which are shutdown anyway in a more managed way, and specifically our avatar sprite is re-used as we move from room to room. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4366 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/MediaContainer.as | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/as/com/threerings/util/MediaContainer.as b/src/as/com/threerings/util/MediaContainer.as index dfd3b1604..ed4646e62 100644 --- a/src/as/com/threerings/util/MediaContainer.as +++ b/src/as/com/threerings/util/MediaContainer.as @@ -230,14 +230,6 @@ public class MediaContainer extends Box height = NaN; } - override public function parentChanged (p :DisplayObjectContainer) :void - { - super.parentChanged(p); - if (p == null && _media != null) { - shutdown(); - } - } - /** * Get the width of the content, bounded by the maximum. */