• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
milos95zr

I need a script

5 posts in this topic

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!

0

Share this post


Link to post
Share on other sites

ActionScript you mean? You need the script for inside client_ v3.0.swf? What did you make your SWF in?

0

Share this post


Link to post
Share on other sites

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)

0

Share this post


Link to post
Share on other sites

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 by allen2
0

Share this post


Link to post
Share on other sites

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. :thumbup

0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.