kippie
Technical User
- Nov 8, 2001
- 158
In the HTML below I have 3 embedded Flash movies which each can be started and stopped independently with a seperate link. But now I would like to make a link to start and stop them all three together. Is it possible to make a javascript to arrange for this so that the same idea can be extended to many more movies to be started and stopped simultaneously?
This is the HTML I have so far:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 4">
<title>Welcome to Adobe GoLive 4</title>
</head>
<body>
<object CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
CODEBASE="NEED%20NEW%20CODEBASE%20FROM%20RAVEN" ID="flashfile1" WIDTH="100" HEIGHT="74">
<param name="movie" value="nistelrodeavi.swf">
<param name="play" value="false">
<param name="quality" value="high">
<embed NAME="flashfile1" SRC="nistelrodeavi.swf" WIDTH="100" HEIGHT="74" PLAY="false" SWLIVECONNECT="true" QUALITY="high" border="5">
</object>
<br>
<a href="#" onmouseover="flashfile1.Play();" onmouseout="flashfile1.GotoFrame(20);">Play and Stop 1</a>
<br>
<object CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
CODEBASE="NEED%20NEW%20CODEBASE%20FROM%20RAVEN" ID="flashfile2" WIDTH="100" HEIGHT="74">
<param name="movie" value="sunmovie.swf">
<param name="play" value="false">
<param name="quality" value="high">
<embed NAME="flashfile2" SRC="sunmovie.swf" WIDTH="100" HEIGHT="74" PLAY="false" SWLIVECONNECT="true" QUALITY="high" border="5">
</object>
<br>
<a href="#" onmouseover="flashfile2.Play();" onmouseout="flashfile2.GotoFrame(20);">Play and Stop 2</a>
<br>
<object CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
CODEBASE="NEED%20NEW%20CODEBASE%20FROM%20RAVEN" ID="flashfile3" WIDTH="100" HEIGHT="74">
<param name="movie" value="cyclersdef3.swf">
<param name="play" value="false">
<param name="quality" value="high">
<embed NAME="flashfile3" SRC="cyclersdef3.swf" WIDTH="100" HEIGHT="74" PLAY="false" SWLIVECONNECT="true" QUALITY="high" border="5">
</object>
<br>
<a href="#" onmouseover="flashfile3.Play();" onmouseout="flashfile3.GotoFrame(20);">Play and Stop 3</a>
<br><br>
<a href="#" onmouseover="" onmouseout="">Play and Stop all</a>
</body>
</html>
This is the HTML I have so far:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 4">
<title>Welcome to Adobe GoLive 4</title>
</head>
<body>
<object CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
CODEBASE="NEED%20NEW%20CODEBASE%20FROM%20RAVEN" ID="flashfile1" WIDTH="100" HEIGHT="74">
<param name="movie" value="nistelrodeavi.swf">
<param name="play" value="false">
<param name="quality" value="high">
<embed NAME="flashfile1" SRC="nistelrodeavi.swf" WIDTH="100" HEIGHT="74" PLAY="false" SWLIVECONNECT="true" QUALITY="high" border="5">
</object>
<br>
<a href="#" onmouseover="flashfile1.Play();" onmouseout="flashfile1.GotoFrame(20);">Play and Stop 1</a>
<br>
<object CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
CODEBASE="NEED%20NEW%20CODEBASE%20FROM%20RAVEN" ID="flashfile2" WIDTH="100" HEIGHT="74">
<param name="movie" value="sunmovie.swf">
<param name="play" value="false">
<param name="quality" value="high">
<embed NAME="flashfile2" SRC="sunmovie.swf" WIDTH="100" HEIGHT="74" PLAY="false" SWLIVECONNECT="true" QUALITY="high" border="5">
</object>
<br>
<a href="#" onmouseover="flashfile2.Play();" onmouseout="flashfile2.GotoFrame(20);">Play and Stop 2</a>
<br>
<object CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
CODEBASE="NEED%20NEW%20CODEBASE%20FROM%20RAVEN" ID="flashfile3" WIDTH="100" HEIGHT="74">
<param name="movie" value="cyclersdef3.swf">
<param name="play" value="false">
<param name="quality" value="high">
<embed NAME="flashfile3" SRC="cyclersdef3.swf" WIDTH="100" HEIGHT="74" PLAY="false" SWLIVECONNECT="true" QUALITY="high" border="5">
</object>
<br>
<a href="#" onmouseover="flashfile3.Play();" onmouseout="flashfile3.GotoFrame(20);">Play and Stop 3</a>
<br><br>
<a href="#" onmouseover="" onmouseout="">Play and Stop all</a>
</body>
</html>