Dispatch events indicating we're in an unready state when
we're unloaded. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@787 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -156,10 +156,12 @@ public class Mp3AudioPlayer extends EventDispatcher
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
_state = MediaPlayerCodes.STATE_UNREADY;
|
||||
checkNeedTimer();
|
||||
_sound = null;
|
||||
_isComplete = false;
|
||||
_lastPosition = NaN;
|
||||
_cliData = null;
|
||||
updateState(MediaPlayerCodes.STATE_UNREADY);
|
||||
handlePositionCheck();
|
||||
}
|
||||
|
||||
override public function addEventListener (
|
||||
|
||||
Reference in New Issue
Block a user