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
|
// 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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user