This was brought up in a thread the other day. SWFObject does not do any checking of a file path. This behavior is just like if you point to a image which does not exist within an HTML page - you will get a red "x" within the sized bounds where the image should be. Flash player is doing the same thing in that it marks a bounded area, and if you right click, you get a "movie not loaded" message.
You as the developer need to ensure you are pointing to a valid path. You could use some trickery on the client like listening to an Ajax http status code response to the file request, but is most likely overkill in most situations. Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sky Constantine Sent: Wednesday, 17 December 2008 12:13 PM To: SWFObject Subject: Alternative Content is being replaced Hi hope someone can help me out. Im using swfobject2.1. and i know it replaces the whole <div id="flash"></div> including the div tags with the flash object tag. My Flash object is loading perfectly with 100% characteristics. My problem is that if flash player is correct version but flash file not available. It will still replace the whole div tag with the flash object tag. therefore my alternative content will never appear if user have right version of flash but flash file not available. (TESTED on : FF3 and IE7) Does swfobject cover this?. Here is the implementation. http://www.xceleratenow.com.au/sky/xls/index.html http://www.xceleratenow.com.au/sky/xls/index_noflash.html what should i do to show another alternative content for flash file missing? im also getting the getBoxObjectFor deprecated warning how to fix this ? thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
