Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Controling Movie from javascript |
From: | Jason Bouwmeester |
Date: | Tue, 5 Sep 2000 15:19:52 +0100 |
IE Mac, especially 4.5 has some known serious issues when dealing with some
types of JS. I could never get a movie to be controlled with JS in Mac IE
when I was trying it before.
HTH,
jb
-----Original Message-----
From: Craig Thomas [c [dot] thomascarterwongtomlin [dot] com (mailto:c [dot] thomascarterwongtomlin [dot] com)]
Sent: Tuesday, September 05, 2000 5:16 AM
To: flasherchinwag [dot] com
Subject: Re: FLASH: Controling Movie from javascript
marc,
Thanks for the script, but it doesn't seem to work in IE on the Mac.
I get an error: Object doesn't support this property or method
??????????? Any Ideas???
Craig
c [dot] thomascarterwongtomlin [dot] com
on 5/9/00 6:56 am, Marc Pidoux at marcpidoux [dot] com wrote:
> <html>
> <head>
> <title>Controle flash film</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <script language="JavaScript">
> <!--
> function MM_findObj(n, d) { //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) { //v3.0
> var obj=MM_findObj(objStr);
> if (obj)
eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
> }
> //-->
> </script>
> </head>
>
> <body bgcolor="#FFFFFF">
> <p><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"
> width="550" height="400" name="yourfilm">
> <param name=movie value="yourfilm.swf">
> <param name=quality value=high>
> <embed src="rotation.swf" quality=high
>
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Ve
> rsion=ShockwaveFlash"
> type="application/x-shockwave-flash" width="550" height="400"
name="yourfilm"
> swliveconnect="true">
> </embed>
> </object> </p>
> <table width="200" border="1">
> <tr>
> <td>Go to</td>
> <td><a href="#"
> onClick="MM_controlShockwave('yourfilm','','GotoFrame','1')">Frame
> 1</a></td>
> </tr>
> <tr>
> <td> </td>
> <td><a href="#"
> onClick="MM_controlShockwave('yourfilm','','GotoFrame','10')">Frame
> 10</a></td>
> </tr>
> <tr>
> <td> </td>
> <td><a href="#"
> onClick="MM_controlShockwave('yourfilm','','GotoFrame','50')">Frame
> 50</a></td>
> </tr>
> </table>
> <p> </p>
> </body>
> </html>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]