Highlighted

Stop Movieclip on mouse out, but also stop sound

Community Beginner ,
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

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

up = auf, should have the stop

TOPICS
Discussions

Views

201

Likes

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

Stop Movieclip on mouse out, but also stop sound

Community Beginner ,
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

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

up = auf, should have the stop

TOPICS
Discussions

Views

202

Likes

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
Jan 14, 2019 0
Adobe Community Professional ,
Jan 14, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Jan 14, 2019 1
Adobe Community Professional ,
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

Likes

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
Reply
Loading...
Jan 14, 2019 1
Community Beginner ,
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.

Likes

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
Reply
Loading...
Jan 14, 2019 0
Adobe Community Professional ,
Jan 14, 2019

Copy link to clipboard

Copied

use start and stop instead of stream.

Likes

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
Reply
Loading...
Jan 14, 2019 0
Community Beginner ,
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.

Likes

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
Reply
Loading...
Jan 14, 2019 0
Adobe Community Professional ,
Jan 14, 2019

Copy link to clipboard

Copied

up = auf, should have the stop

Likes

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
Reply
Loading...
Jan 14, 2019 0
Community Beginner ,
Jan 15, 2019

Copy link to clipboard

Copied

Well, that makes sense. Thanks a lot!

Likes

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
Reply
Loading...
Jan 15, 2019 0
kglad LATEST
Adobe Community Professional ,
Jan 15, 2019

Copy link to clipboard

Copied

you're welcome.

Likes

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
Reply
Loading...
Jan 15, 2019 1