Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

button, sound on and off?

Status
Not open for further replies.

help120

Technical User
Apr 15, 2001
198
US
I want to have 2 buttons.. one that turns the music on and the other to turn it off. Now how Do I get the sound to start and stop?
 
that would work...
could u give me a step by step?
 
Well...
Download these flas and have a look.


If you want the music to be on at first (well as soon as the loop is downloaded!) as:

... Download this one:

If you want the music off at first and have to switch it on as:

... Download this one:

The second one has a (bonus) preloader also.

Note that both of these are short loops that repeat!

;-)
 
I know this.. but how do i make a buttom turn on and off the loop?
 
Download the flas man!
And have a look at the actions!
After all they're only 2 frames long!
Sheeeeeeeeeeeeeeesh! As Carl would say!

;-)
 
hehe, waz just being lazy but i did figure it out! thanks man
 
I used the example you gave, rave2.fla, to try this on my own and it seems I made a file with the exact same properties as your rave2 file. I used my own button and music but it won't play. Does the sound layer label come into play at all and I am not seeing it?

thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top