Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

I need a script

- - - - -

  • Please log in to reply
4 replies to this topic

#1
milos95zr

milos95zr
  • Members
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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!


How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,506 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

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

#3
milos95zr

milos95zr
  • Members
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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
allen2

allen2

    Not really Newbie

  • Members
  • PipPipPipPipPipPipPip
  • 1,812 posts
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, 18 May 2011 - 02:30 PM.


#5
milos95zr

milos95zr
  • Members
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN