Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Control Flash |
From: | Sean Renet |
Date: | Sun, 12 Mar 2000 09:54:52 GMT |
I am using a mouse event to control a flash movie.
JS:
function MM_findObj(n, d) { file://v3.0
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document); return x;
}
function MM_controlShockwave(objStr,x,cmdName,frameNum) { file://v3.0
var obj=MM_findObj(objStr);
if (obj)
eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
}
EVENT:
A HREF="#"
ONMOUSEOVER="changeImages('holrollovers_01',
'images/holrollovers_01-holrollo-04.gif', 'holrollovers_03',
'images/holrollovers_03-holrollover.gif', 'holrollovers_09',
'images/holrollovers_09-holrollover.gif', 'holrollovers_10',
'images/holrollovers_10-holrollover.gif', 'holrollovers_11',
'images/holrollovers_11-holrollover.gif',
'holrollovers_15', 'images/holrollovers_15-holrollover.gif',
'holrollovers_16', 'images/holrollovers_16-holrollover.gif',
'holrollovers_17', 'images/holrollovers_17-holrollover.gif',
'holrollovers_19', 'images/holrollovers_19-over.gif', 'holrollovers_20',
'images/holrollovers_20-holrollover.gif', 'holrollovers_23',
'images/holrollovers_23-holrollover.gif',
'holrollovers_24', 'images/holrollovers_24-holrollo-76.gif'); return true"
ONMOUSEOUT="changeImages('holrollovers_01',
'images/holrollovers_01.gif', 'holrollovers_03',
'images/holrollovers_03.gif', 'holrollovers_09',
'images/holrollovers_09.gif', 'holrollovers_10',
'images/holrollovers_10.gif', 'holrollovers_11',
'images/holrollovers_11.gif', 'holrollovers_15',
'images/holrollovers_15.gif',
'holrollovers_16', 'images/holrollovers_16.gif', 'holrollovers_17',
'images/holrollovers_17.gif', 'holrollovers_19',
'images/holrollovers_19.gif', 'holrollovers_20',
'images/holrollovers_20.gif', 'holrollovers_23',
'images/holrollovers_23.gif', 'holrollovers_24',
'images/holrollovers_24.gif'); return true;"
onClick="MM_controlShockwave('0','','GotoFrame','10')">
<IMG NAME="holrollovers_19" SRC="images/holrollovers_19.gif" WIDTH=23
HEIGHT=37 BORDER=0></A
This works perfectly fine in IE, but not in netscape. Any Ideas? I am
testing in netscape 4.7
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Load Movie into Target Reference, Cheri Harder
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]