A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: how to loop one flv.

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    13

    how to loop one flv.

    Hello,

    I have to flv. files one after the other. So far it gets from one to the
    other real nice. But at the end of the last one rather then repeating the
    whole set of videos I just want it to loop the last one.

    I'm using action script 2.0 and I tried this in the last move.

    {gotoAndPlay(1);
    }

    But I'm new to action script and of course that didn't work.
    Well I hope you can help thanks so much for listening and answering my last Q Dev Shed Forum....

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    San Jose California
    Posts
    144
    So if I understand correctly you have two flv that are sitting directly on the timeline. In the final frame of the main timeline you have the code
    PHP Code:
    gotoAndPlay(1); 
    That should work. You don't need the curly braces {} though unless you have it as part of a function.

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Location
    San Jose California
    Posts
    144
    Oh I read your problem wrong. What frame do you have the second flv begining? Say it begins on frame 50 then your code would be
    PHP Code:
    gotoAndPlay(50); 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center