Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: CODE wasHELP w/ Netscape, Javascript & Flash |
| From: | Jon Williams |
| Date: | Sat, 17 Jun 2000 20:37:03 +0100 |
Well, first off, it doesn't even look like you're
embedding the flash file at all, so even if netscape
is able to figure out ie's <object> non-sense,
document.embeds will be empty, thus your map object
will be null, thus your javascript won't do anything.
(I think.)
Use macromedia's <OBJECT><EMBED></EMBED></OBJECT>
paradigm...that should work loads better.
(This looks really fancy, I'm soo curious)
-jon
-----Original Message-----
From: owner
Intensepix
Sent: Saturday, June 17, 2000 3:05 PM
To: flasher
Subject: Re: FLASH: CODE wasHELP w/ Netscape, Javascript & Flash
Hre is the code , thanks for you help.
we really appreciate it
PB
<HEAD>
<TITLE>colour</TITLE>
</HEAD>
<script language="JavaScript">
<!--
var col=0;
temp = '<SCRIPT LANGUAGE="VBScript"\> \n'
temp += '<!--\n'
temp += 'Sub colour_FSCommand(ByVal cmd, ByVal arg) \n'
temp += 'call colour_DoFSCommand(cmd, arg) \n'
temp += 'end sub \n'
temp += '-->\n'
temp += '</SCRIPT\> \n'
document.write(temp);
var numret=0; // the number return frame
var af=0;
function colour_DoFSCommand(cmd, arg)
{
var InternetExplorer = navigator.appName.indexOf("Microsoft") !=
-1;
var map = InternetExplorer ? colour : document.embeds[0];
arg=""+arg;
if (cmd=="fill")
{
nom="_flash0/colorside/"+arg;
map.TGotoFrame(nom,col);
}
// {
if (cmd=="coloursiding")
{
col=eval (arg);
map.TGotoFrame("_flash0/chgcolour2",col);
}
if (cmd=="fill")
{
nom="_flash0/colorpagetrim/"+arg;
map.TGotoFrame(nom,col);
}
//}
if (cmd=="colourtrim")
{
col=eval (arg);
map.TGotoFrame("_flash0/chgcolour1",col);
}
if (cmd=="fill")
{
nom="_flash0/colourpage/"+arg;
map.TGotoFrame(nom,col);
}
//}
if (cmd=="colour")
{
col=eval (arg);
map.TGotoFrame("_flash0/chgcolour",col);
}
}
//-->
</script>
<!-- URL's used in the movie-->
<A HREF=FSCommand:colour></A> <!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0
"
ID=colour WIDTH=566 HEIGHT=438>
<PARAM NAME=movie VALUE="colour.swf"> <PARAM NAME=quality VALUE=high>
<PARAM
NAME=bgcolor VALUE=#FFFFFF> [Unable to display image][Unable to display
image]
</OBJECT>
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 help
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 help
Replies
Re: FLASH: CODE wasHELP w/ Netscape, Jav, Intensepix
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

