Hi guys, I have an audio player in a popup window and I would like to be able to turn it off with this command radioStop(); from an html link on the main page. Thanks
http://www.1pixelout.net/2006/12/15/cross-window-javascript-communication-20/
see this… on how to call a javascript function in a popup window from main window.
then study the ExternalInterface class of flash as to how to call actionscript functions from javascript.
next set up a function in javascript that calls flash function to stop playing.
setup a function in flash that javascript will call.
now… main window will call the function of javascript popup -> popup function will call flash function to stop playing - > player will stop
excellent. Thank you sparkdemon!