Skip navigation
Currently Being Moderated

stop action on a layer

Apr 4, 2012 10:40 PM

hello forumers.

 

its been a while since ive used flash,and im struggeling with a command id normaly do within seconds.

 

im trying to add a stop action on one of my layers,i know the action script is stop ( ) ;

but i cant recall how to add it only to the particular layer.

im affecting the whole scene when i add  a new layer and do the action.

 

how do i get around this?

 

thank you.

 
Replies
  • Currently Being Moderated
    Apr 5, 2012 4:18 AM   in reply to inquestflash

    The stop() function is a timeline command, not a layer function, so if you place it on any layer of a timeline the entire timeline will stop at whatever frame that it is in.  If you want something to stop independently of anything else in a timeline that is animating you need to create it as a movieclip with its own timeline that you can command to stop().

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 5, 2012 5:26 AM   in reply to inquestflash

    You're welcome... practice is the key

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points