Just redispatch Event.COMPLETE from our Loader.

This fixes the AVRG loading button...


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@685 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2008-11-04 23:15:10 +00:00
parent 1e33a90f14
commit 3ff4c5de51
@@ -241,7 +241,7 @@ public class MediaContainer extends Sprite
*/ */
protected function didShowNewMedia () :void protected function didShowNewMedia () :void
{ {
dispatchEvent(new Event(Event.COMPLETE)); // nada in the base class...
} }
/** /**
@@ -624,6 +624,9 @@ public class MediaContainer extends Sprite
updateContentDimensions(info.width, info.height); updateContentDimensions(info.width, info.height);
updateLoadingProgress(1, 1); updateLoadingProgress(1, 1);
stoppedLoading(); stoppedLoading();
// redispatch
dispatchEvent(event);
} }
/** /**