-
I've made a button.The action that I want to achieve is the following:when the mouse rolls over the button,I want the music to stop,but in case you don't click that button and the mouse rolls out it,I want the music to play again.How can I do this?.
-
right click on the button.
Choose Properties
In the Instance Properties in the Actions tab
you will see
On(Release)
Change that to On (Rollover)
Stop All Sounds
Click on On End
add On Mouse Event
Change On ()
too On (RollOut)
Play
That might do the trick.
Hope that Helps get back with me and let me know if it does.
<EMBED src="/cgi-bin/ubb/Members/sigs/00000085.swf" quality=high WIDTH=500 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>
-
I've done what you suggested,and if I've done everything ok,when the mouse rolls out the button the action of the movie jumps to the first scene and starts playing all the movie from the beginning.What I would like to achieve is that when the mouse rolls out the button,just the music plays again,and the movie doesn't start playing again.
Is it possible to do that?.
Thanks a lot.
-
-
k i think i get what you are trying to do
first make a movie and put your sound loop in that movie and only the sound loop, and loop it how evermany times you want.
then put that mov into the frame that u want in the scene.
then in the instance for your the movie with the sound in it label it "sound"
then on the button instance do this script
on rollover
stop all sounds
end
on rollout
tell target "sound"
play
end tell target
end
try that and i hope it works i know how sound can be fun in flash.
Nine Lives Courtney Johnston
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|