A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: stopping layer but continueing another

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Location
    C-Town, GA
    Posts
    8
    ok if i spelled it wrong just leave it alone, i'm sure most of you are smart enought o figure out what i'm trying to say. but anyway i have this situation that i want a certain layer to continue playing but i would like this other layer in the same scene to stop. basically all i want is for the one to play through once and stop but let the movie loop in that scene. i looked all through action scripts and junk...but those damn things are just not....right.=P
    anyway any help is appreciated,

    peace.

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food ™
    Posts
    3,789
    you can't target a specific layer to stop playing. you can stop the movie clips on that layer from playing:

    yourMC.stop()

    or you can put stop() on a keyframe and keep playing whatever you want to play with:

    yourMC.play()

    i hope that helps...

    loading the layers on diffrent levels might work?

    _level0.stop()
    [Edited by gSOLO_01 on 04-22-2002 at 01:36 PM]

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    705
    mr solo is right. you can't stop a layer, only timelines. Thats why you couldn't find a script for it. The easiest fix would be to take everything on the layer you wan to stop and place it all in a movieclip. Then place a stop(); action at the end of its timeline. When your done place this new movie back on it original layer.
    hope this helps

  4. #4
    Junior Member
    Join Date
    Apr 2002
    Location
    C-Town, GA
    Posts
    8
    appreciate it guys!!

  5. #5
    Senior Member
    Join Date
    Jun 2000
    Posts
    705
    "Doing everything illegal, one day at a time!"
    I just noticed your signature. Thats pretty good.

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