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
This commit is contained in:
Ray Greenwell
2006-09-08 18:34:12 +00:00
parent b596aa724e
commit bb40bd533a
@@ -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.
*/