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/text
red means textbox
blue means button
www.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.swf
Thanks!
Page 1 of 1
I need a script
#2
Posted 18 May 2011 - 08:30 AM
ActionScript you mean? You need the script for inside client_ v3.0.swf? What did you make your SWF in?
#3
Posted 18 May 2011 - 01:06 PM
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)
i need a simple form, like adress bar- with textbox and navigate button which can redirect me to client.swf(like a simple webpage)
#4
Posted 18 May 2011 - 02:23 PM
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>
This post has been edited by allen2: 18 May 2011 - 02:30 PM
#5
Posted 18 May 2011 - 02:38 PM
allen2, on 18 May 2011 - 02:23 PM, said:
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.
- ← Looking for users management system
- Web Development (HTML, Java, PHP, ASP, XML, etc.)
- URGENT!.. Suggestion needed for which language to choose.. →
Share this topic:
Page 1 of 1



Help
Back to top










