SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist Fleeters's Avatar
    Join Date
    Jul 2003
    Location
    Dumpsville
    Posts
    406
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    embedding flash with swfobject / making sure swf exists on server

    I am working on a project that is using load balanced servers.. all the media that is referenced in the flash is referencing that server. but for some reason on our wireless at work we can't access that server... so I want to check to see if the swf file is existant on the server before writing out what swf to embed.. so if it is there, meaning we're not on wireless.. it will ebmed that one.. otherwise embed a different swf that will use that server's local copy of the site..

    ??any ideas?
    Aaron Smith
    smithaaronlee.net

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use Ajax to retrieve the flash, you will know if the flash exists or not depending on what code the server will return


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
  •