Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
This is the easy part, if you read through this document you have
your invisible frame, your web page inside the invisible frame that embeds the Flash
Movie, the Flash Movie with sounds as Movie Clips, your JavaScript code library and the
web pages that you want sonified.
Now we will see how to create the event handlers needed to sonify
links and/or images.
To use the sound function from a web page:
a. Reference the JavaScript library soundtown.js from
HTML like this:
<script SRC="soundtown.js">
It is important (as I said before) that you reference the external
library from every web page that will have sounds so the sound functions are available to
be called from event handlers.
b. Insert the function call inside a onmouseover event handler like
this.
When the onmouseover event fires, it will call the function and the
sound will start.
If you want the sounds to stop when the user moves the mouse pointer
away from the link and/or image you can add a function call to a onmouseout event. Like
this:
Onmouseout="sonido(event,'');"
Notice the play flag as an empty string
In this case, the sound inside the Movie Clip will stop. It
really is a matter of taste, I mean, if you want sounds to bleed into each
other dont use the onmouseout event. Personally I think that stopping sounds when
the user leaves the link and/or image allows a much controlled sound experience, but
again, it is a matter of taste.
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.