Skip to main content
Participating Frequently
April 29, 2009
Question

make flv within a flash movie loop (or entire movie loop?)

  • April 29, 2009
  • 2 replies
  • 2402 views

I am needing to make the flv loop from my .fla file which contains .flv files. I know there is a piece of AS 3.0 I need in order to make them loop/make the entire movie loop but I am not sure what it is.

This topic has been closed for replies.

2 replies

New Participant
September 20, 2009

Well,

in AS2 you need to use this code in the flv object:

on (complete){
this.autoRewind=true;
this.play();
}

Hope it helps

AttaBoy2
Inspiring
September 20, 2009

He's using AS3.

If it's on the timeline as you said then it seems on the last frame or the frame after that you could have code telling it to gotoAndPlay(1) though I'm not sure how you do that in as3.

kglad
Community Expert
April 29, 2009

are you using the flvplayback component or netstream class or video class to display your flv?

npqsterAuthor
Participating Frequently
April 29, 2009

Well, I just imported the movie and it created the FLV for me; in other words, I didn't code it...

kglad
Community Expert
April 30, 2009

you imported an flv into the flash ide and assigned it to a timeline?