external javascript to control flash
Hi
I'm trying to use a drop-down menu made in javacript to control a flash movie(move to different frames and such). I have the code for a drop menu but i'm not sure how to modify it in order to control the flash movie. The javascript is in a different frame from the flash movie. Thanks!!!
<html>
<head>
<script language='javascript'>
function gotourl()
{
location.href = document.selection.theselector.value
}</script></head>
<body link='' vlink='' bgcolor ='White'>
<font color=' Black' face =' Verdana'>
<form name='selection'>
<select name='theselector'><option value='http://www.yahoo.com'>Yahoo!<option value='http://www.google.com'>Google<option value='http://www.excite.com'>Excite<option value='http://www.imdb.com'>Internet Movie Database<option value='http://www.amazon.com'>Amazon.com
</select>
<input type='button' value =' Go' onClick='gotourl()'>
</form>
</font>
</body>
</html>
|