Created
July 23, 2015 07:09
-
-
Save mizutanikirin/815fd719f2f69f8eabb7 to your computer and use it in GitHub Desktop.
AS3 Video loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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