PDA

View Full Version : external javascript to control flash


psychommunity0
07-23-2003, 11:44 AM
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>

psychommunity0
07-23-2003, 11:58 AM
i know i'm suppose to use movie.GotoFrame(24);
but what I don't know is how I would implement it into the code. Taking into account that they're in seperate frames.