Designer Today - Graphic Design Magazine
Designer Today is the premiere graphic design magazine and tutorial resource for designers

Web Design Tutorials


 


Adding Sounds to your Buttons – SwishMax Tutorial
Beatriz Mariniello

 

September, 2006

In this tutorial you will learn how to insert and stop music files to the  buttons you created in the "Creating Buttons" tutorial.

Open the file where you saved the button you created before.

Select the Script Panel and press the 'Add Script' button and select Events | Button | on (rollOver) from the drop-down Menu. The On (Roll Over)Event  will appear and be highlighted in the 'Script' window.


Press the 'Add Script' button (or right click on the 'on (rollOver)' function) and select Sound | Play Sound from the drop-down Menu. Press the 'Import...' button and the 'Import Sound' dialog box will appear.


Select the sound you desire, in this case I choose as an example “11.mp3” after selecting the sound press Open. The filename (in this case) "11.mp3" will appear at the bottom in the audio content list. Click on the filename within that list to select it for the playSound action.

The 'Script' Panel should look like this:  

Select the 'Layout' Panel tab and press the 'Play Timeline' button to test your button. When your mouse pointer rolls over the button, you should hear the sound.
 

 

Stopping Sounds  

Now that you have learned to create buttons with music, its important to also create a button as I taught you before, but in this case to stop the sounds in case the visitor to your website wants to do so.

Create a button as I taught you before. Select the button and go to the script panel and press the 'Add Script' and select and select Sound | Stop Sound.

The 'Script' Panel should look like this:  

Is that simple!!

Copyright (c) 2006, Beatriz Mariniello, All Rights Reserved

 



Be the first to bookmark or share this

 

 

 



Web Design Tutorial Section

In this section you will find excellent web design tutorials and training, as well as web design tips, tricks, techniques and effects. Our writers work hard to provide free web design training for you! Our tutorials cover several different html editors and many styles and types of web design and programming. Visit the Designer Today resource directory for more web design and web graphics tutorial resources. You can also find more Web Design Tutorials at Tutorials Today.




Designer Today Tutorial CD

Designer Community Forum

Advertise on Designer Today

Search and register domains at 123 Domain Names UK, Domain Name Registration UK
and the
UK Domain Name Registration Centre

Designer Today - The Graphic Design Magazine for 2D and 3D graphic designers Hundreds of graphic design
and graphic design software tutorials, product reviews and design articles for the graphic designer


Graphic Design Articles | Graphic Design Newsletter | Graphic Design Training  
Photoshop Tutorials | Illustrator Tutorials | After Effects Tutorials


Also be sure to visit
Fun Meme Jokes and Humor | Favorite {fvrit} Blog |
Poser World | The Poser Gazette
Favorite Media |
Stock 3D wiki | Statesboro Magazine | Five Million Dots | Small Business Consumer
GMP Savings Store

Privacy Policy | Website Copyright and Terms & Agreement | Contact | Information | Site Map | Advertise | Submissions

DesignerToday.com runs on a Content Management System by GMP Services
Copyright © 1998-2008, GMP Services, Inc. -
Media Publishers of Statesboro Georgia, All Rights Reserved