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

Stop Movieclip on mouse out, but also stop sound

Guest
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

Hello, I'm quite new to Action Script and Adobe Animate. I created a movieclip and put a button over it. Then I added an eventlistener to that button, so that the movieclip is playing on mouse hover an another eventlistener that the movieclip stops on mouse out. Everything works fine except that the sound I attached into one layer of the movieclip doesn't stop playing on mouse out, it continues till it ends. Is there a way to make it stop somewhere in the middle of it as well? Hope you can understand my english and my problem.

Greenshot 2019-01-14 14.19.17.pngGreenshot 2019-01-14 14.18.42.png

Views

355

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 , Jan 14, 2019 Jan 14, 2019

up = auf, should have the stop

Votes

Translate

Translate
Community Expert ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

in the properties panel, assign the sound's 'sync' property to stream.

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 ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

this is what your properties should look like.

Screen Shot 2019-01-14 at 1.23.09 PM.png

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
Guest
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

thanks a lot! That worked for the sounds in movieclips, but it somehow doesn't work for sounds attached to a button state.

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 ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

use start and stop instead of stream.

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
Guest
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

Sorry I'm a little confused here. I tried "start" before, but where should I choose "stop" then?
Greenshot 2019-01-14 23.37.17.pngGreenshot 2019-01-14 23.37.23.png
The left picture is the button where I put the sound on the "over" state. The right picture is the properties panel where I choose "Start" for the sound synchronisation.

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 ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

up = auf, should have the stop

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
Guest
Jan 15, 2019 Jan 15, 2019

Copy link to clipboard

Copied

Well, that makes sense. Thanks a lot!

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 ,
Jan 15, 2019 Jan 15, 2019

Copy link to clipboard

Copied

LATEST

you're welcome.

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