Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function onStreamStatus ( event:NetStatusEvent ):void
- {
- switch ( event.info.code )
- {
- case "NetStream.Play.Start":
- animated = true;
- break;
- case "NetStream.Unpause.Notify":
- animated = true;
- break;
- case "NetStream.Play.Failed":
- animated = false;
- break;
- case "NetStream.Play.Stop":
- animated = false;
- break;
- case "NetStream.Play.StreamNotFound":
- animated = false;
- break;
- case "NetStream.Pause.Notify":
- animated = false;
- break;
- case "NetStream.Seek.Notify":
- animated = true;
- break;
- }
- }
Add Comment
Please, Sign In to add comment