MSFN Forum: I need a script - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

I need a script Rate Topic: -----

#1 User is offline   milos95zr 

  • Group: Members
  • Posts: 9
  • Joined: 25-December 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 May 2011 - 07:37 AM

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!


#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,726
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

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 User is offline   milos95zr 

  • Group: Members
  • Posts: 9
  • Joined: 25-December 10
  • OS:Windows 7 x64
  • Country: Country Flag

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)

#4 User is online   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,753
  • Joined: 13-January 06

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 User is offline   milos95zr 

  • Group: Members
  • Posts: 9
  • Joined: 25-December 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 May 2011 - 02:38 PM

View Postallen2, 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. :thumbup

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy