Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-23-2003, 11:44 AM   #1
psychommunity0
Registered User
 
Join Date: Jun 2001
Posts: 31
Unhappy 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>
psychommunity0 is offline   Reply With Quote
Old 07-23-2003, 11:58 AM   #2
psychommunity0
Registered User
 
Join Date: Jun 2001
Posts: 31
Default

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.
psychommunity0 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:29 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.