I have a imported video converted to MovieClip, so that I am able to make mouse events, dragging etc to it.
The problem is that i want it to loop forever. Regular FLVplayback codes doesn't anymore work after converting to MovieClip.
I also tried to make the video as a embedded timeline video, but the video duplicates or the actions freezes after a moment.
Anyone know how to make MovieClip video to loop or solve the embedded video duplicating problem? Or is it possible to make the source video loop externally.
You might want to look into using the NetStream class instead of whatever you have done with a MovieClip and instead of using an FLVPlayback component.
You might also explain what you did increating it as a MovieClip. A MovieClip will normally loop automatically unless you place a stop() command at the end.
If that's the option you selected when you imported it, then you need to assign an instance name to the FLVPlayback component inside the MovieClip and to the MovieClip as well. Use them to assign an event listener for the flv player to detect when it is done playing so you can start it playing again.
For the example shown below I have named them flvplayer and flvmc, respectively...
// in the timeline containing the MovieClip...
flvmc.flvplayer.addEventListener(Event.COMPLETE, playAgain);
function playAgain(evt:Event):void {
flvmc.flvplayer.play();
}
North America
Europe, Middle East and Africa
Asia Pacific