I imported an FLV file to my FLA flash file, and exported it as an SWF movie.
I want to embed it into my website, and I want it to loop after it ends.
I’ve already checked the following:
- files are fully uploaded
- using the latest version of flash
- “Publish Preview > Flash” works fine in Adobe Flash CS4
- “Publish Preview > HTML” also works fine in Adobe Flash CS4
Actionscript solutions I’ve tried:
To the FLV component:
on (complete){
this.autoRewind=true;
this.play();
}
To the frame where the video was placed:
var myLis:Object = new Object;
myLis.complete = function(){
flvPlayer.play();
}
flvPlayer.addEventListener("complete", myLis);
I’ve been looking at this for the past week and can’t figure it out.
I heard that I might check something called “IDE” but I have no idea what that is or how to check that? Any help would do wonders.
Thank you!!
I’ve figured it out.
Turns out I needed a stop() at the beginning of my actionscript for the frame with the FLV component: