• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Looping Background Animation and sound with stop action scripts?

New Here ,
Oct 04, 2022 Oct 04, 2022

Copy link to clipboard

Copied

Hello all!

 

I am pretty much new to Adobe Animate and learning the fundementals on how to make an interactive animation for a college course. So hope I am able to explain this correctly. 

 

I have initated stop actions for certian frames through the action wizard, which makes the whole aniamtion stop of course.  What action script or what approach should I take in order for my interactive to stop at a certain frame, while the sound and the background is still in loop? I can provide my fla. file, and post the script codes if needed. 

 

Thanks in advance! 

    

Views

447

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 04, 2022 Oct 04, 2022

your background is probably static so, it doesn't matter if it's on the main timeline and the main timeline stops.

 

and your sound, if it's attached to a main timeline frame, can have its sync property set to event, so it continues to play even if the timeline stops.

 

and those solutions really are special cases.  ie, if your background weren't static and you were something that changed across the timeline, you would need to make the background a movieclip and add that movieclip to the main ti

...

Votes

Translate

Translate
Community Expert ,
Oct 04, 2022 Oct 04, 2022

Copy link to clipboard

Copied

your background is probably static so, it doesn't matter if it's on the main timeline and the main timeline stops.

 

and your sound, if it's attached to a main timeline frame, can have its sync property set to event, so it continues to play even if the timeline stops.

 

and those solutions really are special cases.  ie, if your background weren't static and you were something that changed across the timeline, you would need to make the background a movieclip and add that movieclip to the main timeline.  then when the main timeline would stop, the movieclip would continue to play.

 

bottomline.  because of special circumstances with a background and a sound, there's an easy solution for you.  but a more general answer involves the complication of creating a movieclip of the animation that you want to continue to play when the timeline hosting that movieclip stops.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

Wow! Such a simple soultion worked! I felt like I tried those settings before regarding the sound but thanks a bunch! Just one more question, I am probably missing something or doing something wrong. So for the background, I converted it to a movie clip and made a loop; and when I test my interactive aniamtion, it loops endlessly on the first sequence however, when I click the button I made go to the next sequence/scene the background loops stops.  

 

Thanks for all your help! 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 06, 2022 Oct 06, 2022

Copy link to clipboard

Copied

LATEST

if you're using scenes, check the back in the problematic scene.  make sure it's your looping movieclip and not something static you tried before.

 

note:  using a non-static background is going to be problematic across scenes because at the end of one scene that movieclip is going to be on frame x and at the start of the next scene that movieclip is going to be at frame 0. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines