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:
@@ -241,7 +241,7 @@ public class MediaContainer extends Sprite
|
||||
*/
|
||||
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);
|
||||
updateLoadingProgress(1, 1);
|
||||
stoppedLoading();
|
||||
|
||||
// redispatch
|
||||
dispatchEvent(event);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user