Dynamic Sound Overview

This document gives instructions on incorprating dynamic sounds into the CIMEL Flash movies. It also has a 'Troubleshooting' section which the user is encouraged to read.
To use audio files in your movies:
  1. Create a folder "mp3" in the current Chapter development folder where you are working with the source files (.fla). Put all of the mp3 sounds you have for your chapter in this folder.
  2. Create a folder "mp3" within the chapter folder in the "wwwroot/movies" folder. e.g. create the folder: /Cimel/wwwroot/movies/objects_and_classes/mp3 Note: For this step you have to have access to the CIMEL ftp machine. You can skip this step for now but make sure whoever is developing the movies for the chapter uses a consistent chapter name for the code below.
  3. Put the mp3 files in this folder.
  4. To incorporate sounds in the movie you are developing use the code below in the frame where you want the sound to be loaded: loadSound(localStr, rootStr); where localStr and rootStr are strings which contain the path to the mp3 on the local computer and server, respectively.

    Example: loadSound("mp3/screen70.mp3","movies/software_engr/MP3/screen70.mp3");


Troubleshooting playback faliures:
Documented by: Shreeram Sahasrabudhe
Return to Main Development Page