-
1. Re: Is there no simple "loop video" action for FLV in Flash?
adninjastrator Apr 15, 2012 9:32 AM (in response to mwolda333)In case you missed the answer post in different post:
Number of ways to do this.
If you embed the video directly into the main timeline.... there is no need to do anything. The default for Flash is to play the last frame and then loop to the first frame.
Another choice is to use NetStream to play the video.... much more powerful and versatile than the FLVPlayback component.
Then to loop, it's simple:
ns.onStatus = function(info) {
if(info.code == "NetStream.Play.Stop") {
trace("Video complete")
ns.seek(0);
ns.play();
}
}
Good NetStream video tutorial here:
Very bottom of page.
Best wishes,
Adninjastrator
-
2. Re: Is there no simple "loop video" action for FLV in Flash?
mwolda333 Apr 15, 2012 10:49 AM (in response to adninjastrator)Awesome! I'll try the first option first. I had embedded the video into a movie clip and then placed that into the timeline and it didn't loop. Lemme try directly into the timeline.
-
3. Re: Is there no simple "loop video" action for FLV in Flash?
mwolda333 Apr 15, 2012 10:54 AM (in response to adninjastrator)Sweet! That worked! Thank you!
-
4. Re: Is there no simple "loop video" action for FLV in Flash?
adninjastrator Apr 15, 2012 11:35 AM (in response to mwolda333)You are most welcome!
Adninjastrator


