The following blog entry from Christian Cantrell may be able to shed 
some light for you Rick...

http://weblogs.macromedia.com/cantrell/archives/2005/06/flash_js_integr.cfm

Cutter

Rick Root wrote:

>so, I'd like to add optional audio alerts to my chat app... and I did 
>that using the <embed> tag and just had the javascript play the sound 
>when appropriate.  I used .au files for the audio.
>
>Some people surfed in and got the quicktime plugin alert because they 
>were using mozilla and didn't have quicktime installed.  I know *I* 
>would find that to be obnoxious.
>
>I was thinking that using a flash movie to play the sounds might work 
>better.. more likely to be installed.  Javascript can cause actions to 
>occur in flash movies, right?
>
>I've used actionscript to call javascript functions on a page before, 
>but never used javascript to trigger an event in the flash movie.
>
>Ultimately, I'd just like a little 1x1 flash movie that could play 2-3 
>sounds.. which would be configurable via url parameter to the flash 
>movie itself... and then allow javascript to play the different sounds 
>by calling some kind of actionscript method... playSound(1) playsound(2) 
>etc.
>
>Rick
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233083
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to