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
}
}
_state = MediaPlayerCodes.STATE_UNREADY;
checkNeedTimer();
_sound = null;
_isComplete = false;
_lastPosition = NaN;
_cliData = null;
updateState(MediaPlayerCodes.STATE_UNREADY);
handlePositionCheck();
}
override public function addEventListener (