Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Javascript control example:

    Let’s say you want to have a player on the page, but have the option of loading the player in its own window, and you want the in-page player to stop when the popup player loads. It’s easy. Let’s say you have the audio player loading with an id of “audioplayer_1”. In the function that launches your popup window, you include the following code:

    var myFlashMovie = document.getElementById(“audioplayer_1”);
    myFlashMovie.close();

    That will associate the myFlashMovie var with the object or embed that has the id of audioplayer_1, and do that player’s external close method, which will stop playback.

    Regarding the Javascript API, the clue is in this file.

    It looks like load, close, open, and setVolume are available from Javascript.

    See this page if you have questions about how to do a Javascript call into Flash.

Viewing 2 replies - 1 through 2 (of 2 total)