Visit SlideShowPro.net  Community Forums
SlideShowPro Help Wiki
  

SlideShowPro for Flash

Loading sound effects

SlideShowPro for Flash supports the playback of sound effects, and offers three types of interactive events you may attach sounds clips to.

Sound effects are assigned through AUDIO/Sound Effects in the Component Inspector. The parameter accepts an array containing the Library linkage IDs of the sound files you’d like to use.

The sound clip in the first array position is played when a user clicks on an image number, the next/previous image buttons, the open/close gallery button, the auto-play/pause button, or an album in the gallery. The sound clip in the second array position is played when a user rolls their mouse pointer over an image number, an album in the gallery, or the next/previous screen gallery buttons. And finally, the sound clip in the third array position is played when a user clicks on the next image group/previous image group buttons, or the next/previous screen gallery buttons.

Here’s how to load audio clips as sound effects in your slideshow.

Step One: Import sound file into Library

In Flash, select “File > Import > Import to Library”, and a Finder/Explorer window will open. Navigate to the location of the sound clip (WAV, AIFF, MP3) you wish to use, then click “Import to Library”.

Step Two: Setup linkage

Right-click on your first sound clip in the Library panel and select “Properties.” The Properties window will open. Towards the bottom you will see a "Linkage" area. Check “Export for ActionScript”, and give the audio file a short “Identifier” name if using the AS2 version of SlideShowPro. If using the AS3 version, enter a "Class" name. When done click "Okay" to close the window.

Repeat process for other sound files. When complete, click inside the field containing “[None,None,None]” next to Sound Effects in the Component Inspector and insert the linkage IDs where appropriate. For example, if your linkage IDs were "Click", "Roll" and "Slide", you'd enter:

["Click","Roll","Slide"]

Step Three: Set audio quality

Be sure to optimize your audio before publishing. You can do this globally (same quality for all sound effects) by selecting “File > Publish Settings”, clicking the “Flash” tab, and choosing quality levels for Audio streams and Audio events. Or if you’d like to set quality levels for your clips individually, right click on a sound file in the Library, select “Properties,” and change the settings to your liking.

Tip: The lower the bit-rate, the smaller your SWF will be. So try to find a good balance between file size and sound quality.

Step Four: Set volume

Once your sound effects are playing you may need to adjust their volume. If so, change the numerical value of the AUDIO/Volume to any number between 0 and 100 in the ActionScript 2 version, 0-1 in ActionScript 3. This value is shared by all sound effects.

Step Five: Publish

That’s it! Publish a new movie and your sound effects should playback.

Page last modified by tdominey on June 06, 2009, at 05:41 AM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing