Flash Tutorial: How to Create Sound Buttons HQ

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
15,959
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 19, 2009

Flash Tutorial: How to Create Sound Buttons
How to Create a Sound Button
an on and an off sound button in FLASH 8 FLASH MX 2004 or FLASH CS3 CS4 etc...

(Just Copy) ActionScript Code:


var my_sound:Sound = new Sound();
my_sound.attachSound("sound_id");

on_btn.onPress = function() {
my_sound.start();
};

off_btn.onPress = function() {
my_sound.stop();
};


%%howto

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (TastyTeo)

  • hei i follow all your steps ad but i could not load the flash can you help me out....

  • @gozolboon I cannot understand your problem!

  • working good in preview, but when i export...it doesn't work...i'm using macromedia flash pro 8...

  • @VladjarK if you could explain a bit more maybe i could help you.

see all

All Comments (51)

Sign In or Sign Up now to post a comment!
  • So you are explaining how to create sound buttons on a muted video. nice...

  • Thank You! You Saved My Project! :))

  • I said...it's works perfect when i see preview from program (ctrl + enter) but when I export clip...it doesn't work...i used macromedia flash professional 8....and it didn't work, i put in flash cs5.5 and it works great, thanks! :D

  • thanks man, really good tut. keep working :)

  • Thanks! Now hope it works on the non-copied flash of adobe. Macromedia just toke their flash and messed it to that. But ill hope it work on adobe flash. Wich i copied :P

  • How to make it auto play my friend ?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more