Flasher Archive

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


Subject: PLEASE??
From: Deb Koch (by way of Sam Michel <owneratchinwag [dot] com>)
Date: Tue, 17 Mar 1998 15:21:39 GMT

Hello again,

Won't someone PLEASE help me with this one? It is probably very simple, I
just don't know the correct javascripting syntax (I think).

I want an alternate (when all else fails from Aftershock) to be an HTML
page, not a GIF or IMG SRC.

I think it needs to go with the document write last part and then again
after that at the very bottom of this clip of Aftershock code.


PLEASE, I have to get this UP to the client!!

Loved the Jagged Text TIP!!!

Best regards,
Deb



Hello all,

My javascripting fails me yet again. I'm using a Flash movie that has been
set up in Aftershock. I want to change the bottom of this bit that I'm
pasting in here, to provide an alternate HTML source in case all else fails
and the shockwave movie cannot be played on a users system.

The document write function here is attempting to use a GIF as an alternate
I want to use an HTML page.

Does anyone know the proper syntax to make these changes?

Thanks,
Deb


// check for java
var JavaOK = 0;
if (navigator.appVersion && navigator.appVersion.indexOf("2.") == - 1 &&
navigator.javaEnabled())
JavaOK = 1;
if ( FlashMode ) {
document.write('<EMBED SRC="Images/mainhome.swf"');
document.write(' NAME=mainhome WIDTH=383 HEIGHT=250');
document.write(' LOOP=false QUALITY=high');
document.write(' TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash">');
document.write('</EMBED>');
} else if ( JavaOK ) {
if (navigator.appName && navigator.appName.indexOf("Netscape") >= 0 &&
navigator.appVersion.indexOf("4.") >= 0)
document.write('<APPLET CODE=Flash.class ARCHIVE=Flash.jar WIDTH=383
HEIGHT=250>')
else
document.write('<APPLET CODE=Flash.class ARCHIVE=Flash.zip WIDTH=383
HEIGHT=250>')
document.write(' <PARAM NAME=cabbase VALUE="Flash.cab"> ');
document.write(' <PARAM NAME=movie VALUE="Images/mainhome.swf"> ');
document.write(' <PARAM NAME=loop VALUE=false> ');
document.write(' <PARAM NAME=quality VALUE=high> ');
document.write(' <PARAM NAME=bgcolor VALUE=FFFFFF> ');
document.write('</APPLET>');
} else {
document.write('<IMG SRC="Images/mainhome.gif" WIDTH=383 HEIGHT=250
BORDER=0>');
}
document.write('<NOEMBED>')
//-->
</SCRIPT>
<IMG SRC="Images/mainhome.gif" WIDTH=383 HEIGHT=250 BORDER=0>
</NOEMBED>
</OBJECT>
<!-- EndAftershock mainhome.swf -->
</BODY>
</HTML>


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: PLEASE??, Lane Allen

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