A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Movie clip replay

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    26

    Movie clip replay

    I know how to replay the whole entire movie over after it finishes playing by pausing...but how do i restart a movie clip only...i tried the code for what i use for the whole movie but it restarts the movie instead of just the movie clip....?

    OR if there is a way to replay the movie clip WITHOUT clearing the feild...like it plays then it starts replaying again while the other finishes?...wait i think i know of a way....might be sloppy though....still someone help?


    can anyone help me out here?


    thanks


    -Lupusk
    Last edited by lupusk9; 06-14-2004 at 02:18 PM.

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Posts
    238
    Movie Clips automatically loop themselves infinitely unless you tell them to stop(); or tell it to do something else.

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    26
    ....right..... that didnt help me but thanks for trying...



    anyone else know? i know theres a way...i want it like TIMED restart...not automatic...

  4. #4
    Junior Member
    Join Date
    Jun 2004
    Location
    Brooklyn, NY
    Posts
    10

    use an instance name for the clip

    Name the instance where the clip appears in the timeline, i.e. subclip_mc, then put this in the main timeline

    _root.subclip_mc.gotoAndPlay(1);

    if you want a button to control the submovie put this code on the button:
    on (click) {
    _root.subclip_mc.gotoAndPlay(1);
    }
    millsbury

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