View Single Post
  #2 (permalink)  
Old February 11th, 2005, 06:32 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well you need some flash detection script, search Google where you will find examples that work on IE and NN et al.
Then you need something like:
Code:
var sFlashUrl = "http://mySite/myFolder/myFlashPage.htm";
var sGetFlashUr; = "http://www.macromedia.com/getFlash.htm"
var oFrame = window.frames["flash"];
if (hasFlash())
{
  oFrame.document.location = sFlashUrl;
}
else
{
  oFrame.document.location = sGetFlashUrl;
}
--

Joe (Microsoft MVP - XML)
Reply With Quote