A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: MovieClip won't stop running...

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    3
    [small]I'm trying to get a movie clip to stop playing in the middle of my movie but it just won't work. Anyone know how to do it? I've already tried:
    [list=1][*]Just using stop action[*]Reading help[/list=1]
    I am lost, so someone please help me. Thanks.

  2. #2
    F# A# oo Ian424's Avatar
    Join Date
    Jun 2001
    Posts
    1,070
    it should stop if you just type stop (); in the last frame's actions

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Posts
    3
    you don't understand. I don't want to pause the whole movie. Just a movieclip. You know, one of the three kinds of instances. Stop(); freezes the whole movie, but I just want to stop a movie clip from looping the animation. Is it possible, if not I could always replace it with a still object, just wanted to know for further reference.

  4. #4
    F# A# oo Ian424's Avatar
    Join Date
    Jun 2001
    Posts
    1,070
    the last frame of the movie clip is what i meant.

    they're are places for actions in there, too.

  5. #5
    Wizard of preloaders
    Great master of web searches

    Join Date
    Sep 2000
    Posts
    687
    try the unload movie action...

  6. #6
    Junior Member
    Join Date
    Jun 2001
    Posts
    14
    That's easy dude. Just right-click the last frame of your movie clip and go to actions. Then select stop. It will then stop at that frame, rather than repeating itself.

  7. #7
    Junior Member
    Join Date
    Jun 2001
    Posts
    3
    No, you don't understand, I want it to play more than once....because otherwise it won't looks right for the distance it travels. But I can't just play it once

  8. #8
    Member
    Join Date
    Aug 2000
    Posts
    52
    I guess there are two ways of doing that. Copy and paste the frames so they'd loop the number of times you want, or you can use actionscript to increment a variable on every loop. Then use an IF numberofloops = "5" (stop().

    Another thing you could do is if you wanted the main timeline to stop the animation using a Telltarget.

    Sorry, I'm not sure exactly what you want, so I'm replying in a vague way. Maybe you could elaborate more on what you want?

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