First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Gonzalo Alustiza


It is not new that a single Flash Movie can be employed to sonify a web site; usually you assign each link and image in a web page a start frame number inside the Flash movie and play the movie from the selected frame in response to a mouse (or keyboard) event. This method involves calling the Flash movie from an event handler and passing the frame number from which you want to start playing.

One caveat of this approach is that whenever you modify the Flash movie to incorporate new sounds or replace or modify existing sounds you might experience that the frame numbers you are referencing from your code are no longer valid and you have to modify your calls. This could be very annoying in big web sites and a huge waste of time.

Our approach is to use Movie Clips inside a Flash movie to store sounds and use scripting for the Flash ActiveX control or Plug-In to start and stop those sounds. Also, these Movie Clips will not be referenced by frame number but instead will be referenced by name and the whole idea is to have a unique name for each movie clip that naturally relates to some attribute in the HTML tags (in this case <A> and <IMG> tags).

In case you have to add sounds or modify the existing sounds, the relationship between the HTML elements and the Movie Clips won’t be broken and you won’t have to worry about frames misplaced.

We think that our approach is more natural than referencing frame numbers and, using attributes from HTML tags eases updates. Also you will see the benefits of storing programming logic inside external code libraries so the amount of modifications to the HTML code is minimal.

» Level Intermediate

Added: 2001-02-20
Rating: 5.83 Votes: 30
(10 being the highest)
» Author
My name is Gonzalo Alustiza and I work as a chief developer at Soundtown Argentina. Soundtown is a ten year old music production company specializing in music for advertising and TV which started to develop sonification solutions for the Internet.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.