It seems like it should be a simple snippet, a simple action... but I'm not finding it in Flash. I'm not that familiar with Flash anymore, but I have an FLV that I imported, and I put a static mask png on a top layer. It's exporting fine, but I just want the video to loop.
Is this not a simple request? What am I missing. I stopped working on it last night thinking I must be overlooking something obvious.
Am i?
Thanks in advance,
~M
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
North America
Europe, Middle East and Africa
Asia Pacific