Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Controling Movie from javascript |
From: | Marc Pidoux |
Date: | Tue, 5 Sep 2000 12:29:23 +0100 |
As i am not a Javascript expert, i cannot real answer your question.
But IE Mac is famous for this quied of problems.
And macromedia javascripts are not always complet or exactly correct.
Check MM web site, maybe they have a solution for it.
The behavior is called "Control Shockwave or Flash" (Dreamweaver 3).
Cheers
Marc
Craig Thomas wrote:
> 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.cab#
> > 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
Replies
::FLASH: PRINTING:.::::URGENT::...::: PL, Luca Ionescu
:...:::FLASH: PRINTING:.::..:::, Luca Ionescu
Replies
Re: FLASH: Controling Movie from javascr, Craig Thomas
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]