Flasher Archive

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


Subject: FLASH: Controlling F4 w/javascript
From: Gahlord Dewald
Date: Tue, 16 Jan 2001 18:48:01 GMT

Hey all,

So I'm trying to get a rollover in one part of an HTML doc to create a light-up
effect in a swf. I already realize that this can't work in IE for the Mac
(bummer). I got it working fine in NS but IE PC is giving me some troubles.

Here's some code, and thanks in advance to whomever bails me out. As always,
free beer in Vermont.

Swf Code:

<!--______________FLASH_________________//-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=rvr_nav_r4_1 WIDTH=203 HEIGHT=410>
<PARAM NAME=movie
VALUE="rvr_nav.swf?reststate=/rest/restmain&state=/sauce&saucestate=/sauce/bbq&reststate=/rest/restmain"><PARAM
NAME=quality VALUE=high><PARAM NAME=scale VALUE=noborder><PARAM NAME=salign
VALUE=LT><PARAM NAME=bgcolor VALUE=#330000>
<EMBED
src="rvr_nav.swf?reststate=/rest/restmain&state=/sauce&saucestate=/sauce/bbq&reststate=/rest/restmain"
quality=high scale=noborder salign=LT bgcolor=#330000 WIDTH=203 HEIGHT=410
NAME=movie SWLIVECONNECT=true TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>

Javascript:

<!--_______________________PASS VARIABLES_______________//-->
<script language = "JavaScript"><!--
function garlicon(){
window.document.movie.SetVariable("garlic", "1");
}
function garlicoff(){
window.document.movie.SetVariable("garlic", "0");
}
//--></script>


Specific questions/ideas:

1. "ID=rvr_nav_r4_1" should be changed to "movie" right?
2. Do I have to do anything different with the javascript? All the help files
etc start talking about NS and IE reading Javascript differently etc and my
javascript is fairly crumby so a pointer here would be grand.

Thanks much,
g


Gahlord Dewald
Weeds Media Consortium
Hoops of Fire. Dancing Bears.
Interactive Designers.
http://www.weedsmedia.com

v: 802.658.4267 x 1
f: 800.863.9606
e: gahlordatweedsmedia [dot] com

Weeds Media Consortium
416 Pine Street
Burlington, VT 05401
USA



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// 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]