My brain is hurting by reading too much about detections (from macromedia espress install kit to mook fpi and back)
Now, considering my site only modest demand is flash 6 I opted for the http://www.kirupa.com/developer/mx/detection.htm which at least I understand
Problem is, if I understand correctly, this script is based on flash object, right?
Does it means that I cannot call a html page?
If I can what is the amend I need to do?
I copy part of the script that I believe should read something like document.write( my html page)
if ( MM_FlashCanPlay ) {
document.write(’<OBJECT classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”’);
document.write(’ codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0” ‘);
document.write(’ ID=“script” WIDTH=“1024” HEIGHT=“768” ALIGN="">’);
document.write(’ <PARAM NAME=movie VALUE=“index.swf”> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> ‘);
document.write(’ <EMBED src=“home.swf” quality=high bgcolor=#000000 ‘);
document.write(’ swLiveConnect=FALSE WIDTH=“1024” HEIGHT=“768” NAME=“script” ALIGN=""’);
document.write(’ TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“http://www.macromedia.com/go/getflashplayer”>’);
document.write(’ </EMBED>’);
document.write(’ </OBJECT>’);
The reason I want to call the html page that hold my index.swf is simply because 1) is a popup (but I can give that idea up) 2) The swf is published 100% rather than pixel - if you have had a look at the script you can see I changed the tutorial value to 1024 x 768. Being so large I dont want to take away the option of scaling and if I cannot call the html I dont know how else to publish the file.
- The same for the ELSE statement, instead of an image can I have a html page? If not how can I centre the jpg?
} else{
document.write(’<IMG SRC=“img/logo-LGJ-128.jpg” usemap="#script" BORDER=0>’);
}
Oh dear…this is my longest post ever thank you ever so much if you read so far.
Last but not least if you know of any other method please let me know…
This is way above my legue.
fv