Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Urgent: Alternate GIF (Dowdell... anybody?)
From: Ricardo Madrazo
Date: Tue, 25 Jul 2000 18:58:58 +0100

OK, here's the scenario:
I have a 590x120 pixel flash movie embedded within a table, and surrounded
by HTML content. I need to get some vars from Javascript, so I published
with the FSCommand settings. However, I also need to provide an alternate
GIF (which, to add to my headache, has to be an imagemap) for users that do
NOT have Flash. So, I published with both settings and combined the code,
which looks like this:


<!-- Flash code begins -->
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function movie1_DoFSCommand(command, args) {
var movie1Obj = InternetExplorer ? movie1 : document.movie1;
//
// Place your code here...
//
}
// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 &&
navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub movie1_FSCommand(ByVal command, ByVal args)\n');
document.write(' call movie1_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=4,0,2,0"
ID=movie1 WIDTH=590 HEIGHT=120>
<PARAM NAME=movie VALUE="swf/loader.swf"> <PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000033>
<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.description.substring(plugin.description.indexOf(".")-1)) >=
4 ) {
// Check for Flash version 4 or greater in Netscape
document.write('<EMBED src="swf/loader.swf" menu=false quality=high
bgcolor=#000033 ');
document.write(' swLiveConnect=True WIDTH=590 HEIGHT=120');
document.write(' TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash">');
} else if (!(navigator.appName && navigator.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('<MAP NAME="homemap">');
document.write('<AREA SHAPE="polygon" ALT="Listen" COORDS="589,4, 585,24,
408,29, 396,45, 389,107, 373,119, 0,115, 4,0"
HREF="http://www.live365.com/cgi-bin/directory.cgi">');
document.write('<AREA SHAPE="polygon" ALT="Broadcast" COORDS="589,29,
585,119, 381,115, 393,99, 402,34, 421,25"
HREF="http://www.live365.com/cgi-bin/register.cgi">');
document.write('</MAP>');
document.write('<IMG SRC="swf/alternate.gif" WIDTH=590 HEIGHT=120 BORDER=0
HSPACE=O VSPACE=0 ALT="Listen for Free-Broadcast for Free"
usemap="#homemap">');
}
//-->
</SCRIPT>
<NOEMBED>
<MAP NAME="homemap">
<AREA SHAPE="polygon" ALT="Listen" COORDS="589,4, 585,24, 408,29, 396,45,
389,107, 373,119, 0,115, 4,0"
HREF="http://www.live365.com/cgi-bin/directory.cgi">
<AREA SHAPE="polygon" ALT="Broadcast" COORDS="589,29, 585,119, 381,115,
393,99, 402,34, 421,25" HREF="http://www.live365.com/cgi-bin/register.cgi">
</MAP>
<IMG SRC="swf/alternate.gif" WIDTH=590 HEIGHT=120 BORDER=0 HSPACE=O VSPACE=0
ALT="Listen for Free-Broadcast for Free" usemap="#homemap"></NOEMBED>
<NOSCRIPT><IMG SRC="swf/alternate.gif" WIDTH=590 HEIGHT=120 BORDER=0
HSPACE=O VSPACE=0 ALT="Listen for Free-Broadcast for Free"
usemap="#homemap"> </NOSCRIPT>
</OBJECT>
<!-- Flash code ends -->

Now, when I see it on a box with no Flash installed, I'm prompted to
download content from the Macromedia website (IE, I need to download the
plugin) and the gif file does NOT display. I've checked the paths, so it's
not that... are these two type of publish settings incompatible? Why is it
so damn difficult to publish alternate Gifs? Has macromedia done this on
purpose to force users to download the plugin?

Help!

I have a push deadline for this week and this Flash content is critical to
the project. Thanks.

Ricardo Madrazo
Multimedia Design
650-345-7400 ext. 211
http://www.live365.com/cgi-bin/directory.cgi?autostart=chilakil
Mexican&Latin Rap&Rock in the World's #1 Broadcasting Community


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]