milos95zr Posted May 18, 2011 Share Posted May 18, 2011 Since I'm not a programmer, I would like to if someone could give me a script for the following application:Colors: black means label/textred means textboxblue means buttonwww.site.com/dir/client_ v3.0.swf Navigate.so when i click "Navigate" button, it navigates me to the following url: www.site.com/dir/client_textboxversion.swfThanks! Link to comment Share on other sites More sharing options...
Tripredacus Posted May 18, 2011 Share Posted May 18, 2011 ActionScript you mean? You need the script for inside client_ v3.0.swf? What did you make your SWF in? Link to comment Share on other sites More sharing options...
milos95zr Posted May 18, 2011 Author Share Posted May 18, 2011 no, I meant php or html...i need a simple form, like adress bar- with textbox and navigate button which can redirect me to client.swf(like a simple webpage) Link to comment Share on other sites More sharing options...
allen2 Posted May 18, 2011 Share Posted May 18, 2011 (edited) This html code should help you you just need to adapt to your needs.<HTML><HEAD><script LANGUAGE="JavaScript">function go() {var url=document.Navigate.titi.value;document.location.href="http://www.google.Fr/search?q=" + url ;}</SCRIPT></HEAD><BODY bgcolor="#FFFFFF"><FORM name="Navigate">Text: <input type=text name="titi" ><INPUT type="button" name="Navigate" value="Navigate" onClick="go();"></FORM></BODY></HTML> Edited May 18, 2011 by allen2 Link to comment Share on other sites More sharing options...
milos95zr Posted May 18, 2011 Author Share Posted May 18, 2011 This html code should help you you just need to adapt to your needs.<HTML><HEAD><script LANGUAGE="JavaScript">function go() {var url=document.Navigate.titi.value;document.location.href="http://www.google.Fr/search?q=" + url ;}</SCRIPT></HEAD><BODY bgcolor="#FFFFFF"><FORM name="Navigate">Text: <input type=text name="titi" ><INPUT type="button" name="Navigate" value="Navigate" onClick="go();"></FORM></BODY></HTML>Thanks! I've done it. It works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now