SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Function that waits for an swf to load before it executes.

    I have a function that interacts with a flash mp3 player on my website, but it only works if it executes after the flash player has loaded. I've set a delay and that works sometimes (as long as the flash player loads quick enough). Would anyone know how I can make the javascript function detect when the swf has loaded and then execute? Thanks in advance!

  2. #2
    SitePoint Addict Mirek Komárek's Avatar
    Join Date
    Dec 2006
    Location
    Prague
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try use sifr http://www.mikeindustries.com/sifr/ , because it will load flash by js.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •