A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: How do i loop a movie???

  1. #1
    TheForceIsStrongWithThisOne dvdvault's Avatar
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    778
    Hi All,

    I have a movie with 6 layers and its 500 frames long..

    How do i get it to loop back to the begining when it reaches the end frame???

    Cheers,

    dvdvault

  2. #2
    Junior Member
    Join Date
    Feb 2002
    Posts
    1

    Post

    hmm.... is it at Frame Actions > Basic Actions > LoadMovie??!!

  3. #3
    Senior Member
    Join Date
    Jan 2001
    Posts
    123
    if u have a STOP action in ur FIRST (1) frame of ur movie,
    (maby a button with a play funktion), then u have to ad
    this action to the last frame:

    gotoAndPlay (2);

    if u DONT have a stop action in ur movie... it loops automaticly


    div...

  4. #4
    Senior Member
    Join Date
    Jun 2001
    Posts
    2,943
    Put a gotoAndPlay in it no matter what!

    The HTML loop function is erratic and unreliable

  5. #5
    TheForceIsStrongWithThisOne dvdvault's Avatar
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    778

    not working... :(

    Hi Guys,

    The gotoandplay seems to be restarting the whole movie...I only need to loop 4 layers..not everything.

    How do i loop a layer???

    PS: I am using MX

    Cheers,

    dvdvault


  6. #6
    Senior Member
    Join Date
    Jun 2001
    Posts
    2,943
    Try:
    Code:
    _level1.gotoAndPlay(1)

  7. #7
    TheForceIsStrongWithThisOne dvdvault's Avatar
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    778

    still no good :(

    Originally posted by Sualdam
    Try:
    Code:
    _level1.gotoAndPlay(1)
    Hi Sualdam,

    I have placed this code in the last frame of each layer, but it still replays the entire movie, not just the 4 layers...

    Dont understand why??

    Cheers for your help

    dvdvault

  8. #8
    Senior Member
    Join Date
    Jun 2001
    Posts
    2,943
    Dang. You said layer, not level - forget the last post.

    You will need to put the thing you want to loop inside a movie clip or load it into a level(then, that last post will apply), because you can't loop a single layer or two. It is all or nothing in the timeline.

    It is neater that way, too (movie clips).

  9. #9
    TheForceIsStrongWithThisOne dvdvault's Avatar
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    778

    how do i do that??

    Originally posted by Sualdam
    Dang. You said layer, not level - forget the last post.

    You will need to put the thing you want to loop inside a movie clip or load it into a level(then, that last post will apply), because you can't loop a single layer or two. It is all or nothing in the timeline.

    It is neater that way, too (movie clips).
    How do i put the animation from 4 layers into a movie clip OR how do i load it into a level???

    Appreciate ALL your help :=

    dvdvault

  10. #10
    Senior Member
    Join Date
    Jun 2001
    Posts
    2,943
    Best bet is to put it in a movie clip.

    Select the frames you want to move, right click, and cut frames.

    Create a new movie clip, point at the first frame, right click, and paste frames.

    Put a gotoAndPlay at the end of this.

    Go back to the main movie.

    Now drag the clip from the library on to the stage.

    Practice on a test movie before doing it to your original just until you know how

  11. #11
    TheForceIsStrongWithThisOne dvdvault's Avatar
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    778

    WooHoo!!!

    Got it working...Cheers Guys!!!

    now, how do i turn some flashtyper text into text that can be navigated from???

    ie: Can i use my flashtyper text as a menu nav point???

    Thanks everyone

    PS: how do you type that big blus smilie??

    Thanks again

    dvdvault

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