Click to See Complete Forum and Search --> : Sounds from Over state

05-17-2000, 05:15 AM
I am trying to make a simple interactive musical instrument.
I would like there to be a background sound which is looped. Then where I have dropped a button(s) I want the sound to come up with a mouse pass over. If the mouse stays over the button the sound stays on, when the mouse is moved off the button the sound fades off.

I thought i would start with four buttons. so far I can't even stop the sound from the buttons, it just keeps playing.

Please please help.

Thanking you in advance

05-17-2000, 10:23 AM
The sounds that are for the buttons...

You can do this...

Either make movie clips for them or just
make another layer in the buttons themselves.

It's up to you...

Try this make 4 buttons
make 4 movieclips

In each movie clip in the first frame add the stop action
add a keyframe in the 2nd frame.
add the sound and loop it 100 times
in the Sync Box select START.
now add a keyframe in frame 3
add the sound again only this time
in the sync Box ad STOP

Give each movie clip an instance name

in each button
Tell Target ("/instance name here")
Go to and Play (2)
End On
On Roll Out
Tell Target("/pick the same one")
Go to and Stop (3)

If you need an example i will send you one.

[This message has been edited by jydnas (edited 17 May 2000).]

05-17-2000, 07:08 PM
Thanks for that, Jydnas.

But what about the fade in and out. Do I Put a fade in in Frame 2 of each movie? and a fade out in frame three of each movie?

If it is not too much trouble could i bother you to make one so i can see it.

Thanking you in advance

05-18-2000, 01:06 PM
Ok in frame 1
frame 2
Music with fade in
+ stop action
frame 3
music looped 100 times
with stop action
frame 4
music with Fade out
and stop action
frame 5
music with SYNC box set to STOP
and stop action.

If you still get stuck then I'll send one out.

[This message has been edited by jydnas (edited 18 May 2000).]

05-21-2000, 11:31 PM
I don't know what i am doing wrong here.

What is the best book out there for learning this type of thing in Flash?

Perhaps it would be easier to read a book with illustrations.

Thanks anyway for all your help.

I think I will put this one on the back burner.

05-23-2000, 12:00 AM
There is a couple of books out there
but from what i heard they are not really that good.

You can check out
Flash 4 Magic
The Flash 4 Bible