Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Detection Alternate NOT working |
From: | Peter Reynolds |
Date: | Tue, 30 May 2000 19:24:20 +0100 |
Visit for http://www.petescv.co.uk/
For a detection script sequence that works.
Peter
> From: Jefferis Peterson <Jefferispathway [dot] net>
> Reply-To: flasherchinwag [dot] com
> Date: Tue, 30 May 2000 13:05:17 -0400
> To: Flash MailList <flasherchinwag [dot] com>
> Subject: FLASH: Detection Alternate NOT working
>
> IN testing the standard detections for Flash 4, I am finding a particular
> difficulty.
> If I use Object and Embed tags, no alternate page is created for Non
> Flash enabled IE, rather the plug in search function is activated and the
> missing plug in image occurs.
>
> But if I use Object only and the code below, IE 5 with plugin is
> coming up with the alternative gif image, and a nonFlash enabled browser
> does too.
>
> I need it only switch to the alternate if the plug in in IE 5 is
> missing... until I started messing with it, the detection scheme was
> working just fine. My problem is that I need an image map alternative
> gif which Dreamweaver will not let me add except by raw html coding. I'm
> not doing something right...
>
> Any suggestions? Not especially the last 3 options of Netscape 2,
> NoScript and NoEmbed alternatives...
>
>
> Thanks,
>
> Jeff
>
> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
> swflash.cab#version=4,0,2,0"
> ID=SilkMan WIDTH=90% HEIGHT=90%>
> <PARAM NAME=movie VALUE="SilkMan.swf">
> <PARAM NAME=quality VALUE=high>
> <PARAM NAME=bgcolor VALUE=#000000>
> <img name="HtmlAlternate" src="newimages/HtmlAlternate.gif"
> width="500" height="300" border="0" usemap="#m_HtmlAlternate">
> <SCRIPT LANGUAGE=JavaScript>
> <!--
> var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-
> shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-
> flash"].enabledPlugin : 0;
> if ( plugin && parseInt(plugin.descri
> ption.substring(plugin.description.indexOf(".")-1)) >= 4 ) {
> // Check for Flash version 4 or greater in Netscape
> document.write('<EMBED src="SilkMan.swf" quality=high bgcolor=#000000 ');
> document.write(' swLiveConnect=FALSE WIDTH=90% HEIGHT=90%');
> document.write(' TYPE="application/x-shockwave-flash"
> PLUGINSPAGE="http://www.macromedia.com/shockwave/download/
> index.cgi?P1_Prod_Version=ShockwaveFlash">');
> } else if (!(navigator.appName && nav
> igator.appName.indexOf("Netscape")>=0 &&
> navigator.appVersion.indexOf("2.")>=0)){
> // Netscape 2 will display the IMG tag below so don't write an extra one
> document.write('<img name="HtmlAlternate" src="newimages/
> HtmlAlternate.gif" width="500" height="300" border="0"
> usemap="#m_HtmlAlternate"><map name="m_HtmlAlternate">
> <area shape="rect" coords="230,236,312,257" href="http://
> www.macromedia.com/shockwave/download/alternates/" >
> <area shape="rect" coords="228,183,315,204" href="index2.html" >
> </map');
> }
> //-->
> </SCRIPT><NOEMBED>
> <map name="m_HtmlAlternate"> <area shape="rect"
> coords="230,236,312,257" href="http://www.macromedia.com/shockwave/
> download/alternates/" >
> <area shape="rect" coords="228,183,315,204" href="index2.html" > </
> map></NOEMBED>
> <NOSCRIPT><img name="HtmlAlternate" src="newimages/HtmlAlternate.gif"
> width="500" height="300" border="0" usemap="#m_HtmlAlternate"><map
> name="m_HtmlAlternate">
> <area shape="rect" coords="230,236,312,257" href="http://
> www.macromedia.com/shockwave/download/alternates/" >
> <area shape="rect" coords="228,183,315,204" href="index2.html" > </
> map></NOSCRIPT>
> </OBJECT> </div>
>
>
> Jefferis Peterson, Pres.
> Flash and Web Design
> http://www.PetersonSales.net
> Tel & Fax. 724-458-7169
>
> ICQ 19112253
>
> flasher-digest
>
>>
>>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> World Animation Celebration - Big Internet Animation Pow Wow Discount Offer
>
> Register before May 25 mention flasher and save 25%!! www.wacfest.com
>
> Be discovered, get a job or have your web series picked up. A big talent
> search for Shockwave
> and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob
> Burgess, Matt
> Groening, Brad Bird and more. www.wacfest.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer
Register before May 25 mention flasher and save 25%!! www.wacfest.com
Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Detection Alternate NOT working, Jefferis Peterson
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]