Jump to content

Flash Sound Button


Recommended Posts

I have a simple audio button I am trying to get working for my website however I am totally stuck on how to attach the sound to it. below is what I got:

but_musicon (release) {	gotoAndPlay(2);}on (release) {	_root.soundstatus = "off";}on (release) {	_root.d01.gotoAndStop(1);	_root.d02.gotoAndStop(1);}___________________________but_music[indent][indent]on (release) {	gotoAndPlay (1);}on (release) {	_root.soundstatus = "on";}on (release) {	_root.d01.gotoAndPlay (1);	_root.d02.gotoAndPlay (1);}[/indent][/indent]

The sound files name is "Chillout" and I'm just not good with Actionscript... so please help if you can.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...