Skip to content

Instantly share code, notes, and snippets.

@mizutanikirin
Created July 23, 2015 07:09
Show Gist options
  • Save mizutanikirin/815fd719f2f69f8eabb7 to your computer and use it in GitHub Desktop.
Save mizutanikirin/815fd719f2f69f8eabb7 to your computer and use it in GitHub Desktop.
AS3 Video loop
// the command was triggered here :
case "NetStream.Play.Stop" :
ns.seek(0);
break;
// but actually have to be triggered here :
case "NetStream.Buffer.Empty":
ns.seek(0);
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment