Skip to main content
Participant
March 7, 2023
Question

Stop action script with advanced layers needed

  • March 7, 2023
  • 1 reply
  • 514 views

Hey all, hopefully this is a simple question but I have yet to find an answer to it: 

 

I'm trying to find the correct code that will stop the animation at the end of the playback, while using advanced layers. I'm using a specific project that needs me to use layer parenting, there's not really a work around I can think of. 

 

Currently using "this.stop();" - which has worked before but once currently has stopped, I believe this is relating to the fact I turned on advanced layers. 

 

Thanks for help.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 7, 2023

that should still stop whatever timeline to which it's attached.  it won't stop other timelines and that might be other layers in your case. test

Participant
March 7, 2023

Thanks for your prompt reply - it's appreciated. When I turned on advanced layers it converted all my images to symbols - and this is an image heavy project (I turned on advanced layers mid way through project, first time using them) - do I need to go through and add the stop script to each symbol's timeline?

kglad
Community Expert
Community Expert
March 7, 2023

if they are animated via timeline, yes but that would require more than converting a bitmap to a symbol.