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:
Ray Greenwell
2009-03-20 23:53:56 +00:00
parent 7bf440c629
commit fdfa3aa2e5
@@ -156,10 +156,12 @@ public class Mp3AudioPlayer extends EventDispatcher
// ignore // ignore
} }
} }
_state = MediaPlayerCodes.STATE_UNREADY; _sound = null;
checkNeedTimer(); _isComplete = false;
_lastPosition = NaN; _lastPosition = NaN;
_cliData = null; _cliData = null;
updateState(MediaPlayerCodes.STATE_UNREADY);
handlePositionCheck();
} }
override public function addEventListener ( override public function addEventListener (