Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Flash Form In Html Website


hey my brilliant peeps.
If my site is html and I just wanted to add a flash component to it that is a contact form, is that possible and if so is it relatively simple to accomplish? I'm going to go ahead and see if it works, but I haven't really tried forms in flash, so I don't want to get myself in too deep.

I have horrible luck with php methods and such for forms and I'm not about to get into something that will confuse me anymore.
lol

thanks

SD




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 01-17-2006, 12:59 PM


View Complete Forum Thread with Replies

Sponsored Links:

Flash Form Question : Sending HTML Form Values...
I'm trying to create a flash form version of an HTML form. It's basically just a voting drop down menu - user chooses "Yes", "no","maybe" from teh drop down and hits a submit buttons which would send the results to a CGI script though POST. I understand the submission aspect, but am not sure how to assign values to the drop down in the same way HTML does:

<option value="yes">
<option value="no>
...

Do I just set the combo box Data array to [yes,no,maybe]? If so, how is it to be sent?

thanks

View Replies !    View Related
Pass Variable Form HTML Form To Flash
Hi,

I'm trying to figure out how to send what the user selects from a HTML drop-down menu to the Flash movie.

In this scenario, the user picks an email address from a drop-down list and this is sent to flash as a variable called 'eaddress' which is eventually used in the flash movie to send a message to this address.

Any help is much appreciated!

Glenn

View Replies !    View Related
Convert HTML Form Into FLASH Form
http://www.bennyvo.com/test/

can someone look at this site and help me converting html form into flash form? is it possible?

thanks alots.

View Replies !    View Related
Email Form Not Working On Flash Website
I have an e-mail forum up on my flash website.
but when you try to send an e-mail i get an error that it count be sent.
I used this to make it...

http://www.smartwebby.com/Flash/sound_button.asp

and it came with a .php attachment, and two .as attachments.
I put them all up on the internet, but I'm not sure why it isnt working.
my site is:
http://consumeconsumer.com/test.html
click on contact then the e-mail button.
also I'd rather have the form disapear from the stage if someone clicked on another part of the site. but it only goes away if you click on the "close" button.

thanks for your time,
Jared and April

View Replies !    View Related
Passing HTML Form And Hidden Variables From Flash To Html Page
Hi,

I have a html/flash site now, http://www.zachariack.com.

i access email from my site itself by giving the userid and pwd text box which i copied from the actual website hosting my email access. i copied the entire
<form...></form> tag to my page and thus was able to put the name and pwd in my home page only and access the email in a separate window.

now i have redesigned my webpage using only flash. i would like to know how i can implement the same using flash. as i have not much experience using action scripting i am a bit stuck about how you pass the hidden form variables. the below is the the exact form syntax:

<form name="form1" action="http://www.accudatanet.com/mail/msglist.php" method=post>
<input type="hidden" name=sid value="E9697301F704A0CE947DEF42CF86636A">
<input type=text size=15 name=f_user value="">
<input type=hidden name=six value=0>
<input type=password size=15 name="f_pass">
<input type=submit name=submit value="Login >>" class="button">
</form>

how do i implement the above using action scripting. thanks.

regards,
vasant

View Replies !    View Related
Passing HTML Form And Hidden Variables From Html To Flash
Hi

I need some help passing a html code to flash code. Maybe you guys can set some light on the subject.

<html>

<script>
function Dimensiones()
{

document.getElementById("tamx").value= document.getElementsByTagName('body')[0].clientHeight;
document.getElementById("tamy").value= document.getElementsByTagName('body')[0].clientWidth;

}
</script>
<body ONLOAD="Dimensiones();" ONRESIZE="Dimensiones();">
<form method="Post"
action="http://Validation link.asp">
<input type ="hidden" name="tamx">
<input type ="hidden" name="tamy">
<input type ="hidden" name="url_return" value ="http://Link.asp">
<input type ="hidden" name="url_ot" value = "http://Validation link.asp">
Nombre <input type="text" name="UserName" value="" size="20">
Password <input type="password" name="UserPass" size="20">
<INPUT type="submit" value="Enviar">
</form>
</body>
</html>

I'm having a real hard time passing the function Dimensiones() and dealing with the hidden variables. Can you guys help me with this? Thanks

View Replies !    View Related
Passing HTML Form And Hidden Variables From Html To Flash
Hi

I need some help passing a html code to flash code. Maybe you guys can set some light on the subject.

<html>

<script>
function Dimensiones()
{

document.getElementById("tamx").value= document.getElementsByTagName('body')[0].clientHeight;
document.getElementById("tamy").value= document.getElementsByTagName('body')[0].clientWidth;

}
</script>
<body ONLOAD="Dimensiones();" ONRESIZE="Dimensiones();">
<form method="Post"
action="http://Validation link.asp">
<input type ="hidden" name="tamx">
<input type ="hidden" name="tamy">
<input type ="hidden" name="url_return" value ="http://Link.asp">
<input type ="hidden" name="url_ot" value = "http://Validation link.asp">
Nombre <input type="text" name="UserName" value="" size="20">
Password <input type="password" name="UserPass" size="20">
<INPUT type="submit" value="Enviar">
</form>
</body>
</html>

I'm having a real hard time passing the function Dimensiones() and dealing with the hidden variables. Can you guys help me with this? Thanks

View Replies !    View Related
Flash Form Vs HTML Form
Hello Peoples,

The following HTML code produces a button that when clicked sends the user to my online credit card processor's site where the user can proceed with a transaction.

----------HTML CODE----------
<form action='https://www.casher.com/buyer/purchase' method='post'>
<input type='hidden' name='dis' value='435532' >
<input type='hidden' name='quantity' value='1' >
<input type='hidden' name='product_id' value='1' >
<input name="submit" type='submit' value='Click to pay thru casher.com' >
</form>
----------HTML CODE----------

So my question is: If I want to use a button in a flash piece to do the same thing as the above HTML button, what code do I apply to the button in flash ?

Thanks,
Reflex.

View Replies !    View Related
HTML FORM To Flash FORM
I'm tryin to convert an HTML password page into FLASH and haven't a clue where to start. The site is www.modernvisionphotography.com and the code for HTML is
<form name="pix" method="post" action="http://www.724pix.com/album.asp" onsubmit="return 724check();">
<input type="hidden" name="init" value="init">
<input type="hidden" name="code" value="458">
<input type="text" name="password" size="16" maxlength="30"><br>
<input type="submit" name="submit" value="submit">

The user types in their password via an input text field but i haven't an idea what to put in the submission button in flash.

Any leads? or ideas would be helpful! Thanks for your time.

View Replies !    View Related
Flash In An HTML Website
Hi everybody!

the thingi is, I've never embeded SWF into HTML before, and wanted to know exactly how we do that. I know it's to do with the <BODY> and the <EMBEDDED> tags and stuff...

Thankyou

View Replies !    View Related
Flash And Html Website
hello,

is there a way to make a flash website more google friendly? for those that would like to be found by google for some keywords...other than ading metadata to it...from what i understand google doesnt "see" the text inside a swf file...is that correct?

i see many flash websites have a html version to, i assume this is the best answer for the google problem..
what is the best tool for this? making a html website that looks as much as possible like your flash version? (preferably a program that is user-friendly so a beginner like myself can start from 0 and learn his way up...like flash is)

thanks.

View Replies !    View Related
Flash Form Not Working In Flash Website
I have a Flash Contact form that works perfectly by iteself on a server when I embed it into a HTML doc. The information comes right to my designated email I inputted. I have another Flash Website Movie that I want this Flash Contact Form to work in but every time I try to import the Contact Form movie it does not even show the form it only shows the "Connecting to Server" layers that appear when you click the Submit button. When I import it automatically turns the Form into a Graphic which I changed to a Movie but it still just shows the "Connecting to Server" screen instead of the form. Like I stated the Contact form by itself works perfectly fine when embedded into a HTML doc. Please anyone that can help would be most appreicated.

View Replies !    View Related
Flash Intro, But Html Website
Hi, I'm designing a website in HTML using Dreamweaver, but I'm thinking about using a Flash Intro. What is the best (quickest?) way to transition from the Flash movie to an html page? Or is this generally not recommended?

-Dan

View Replies !    View Related
Multilingual Website In Flash And HTML
Hi,

I want to build a static website in English and Spanish, how can I do this, running Windows Xp as my Operating System. Or is there any other way to build a site for two languages?

Thanks a lot,


John

View Replies !    View Related
Flash Button Bar In An Html Website
ok, here is my question :

I'm building a website in which I have three frames. I want to have a button bar built with flash and from which u can navigate through the site.... though, I don't know how u can refer to the html page and target my "main" frame.

I hope my post is clear enough for u guys to help me go on with this project.

View Replies !    View Related
How Do I Include TXT CGI, And HTML In A Flash Website?
Hello there! This is my first post here. I am fairly new with Flash, but don't have to be talked to like a complete idiot. I am very knowledgeable with website design, CGI scripts, and ASP.

Basicly, what I am wanting to do is this:

I want to have a flash website (nearly done, but got this little problem). Right now, the website I have is using a lot of CGI scripts. Basicly, what I need to do is (if this is even possible), have the site either call and include the contents of an HTML or txt document, or the CGI Script itself. If people are familiar with coranto (CGI PERL News Posting Script), I need the flash site to call upon that script and include it in a scrollable window within the flash document. This would make maintaining the flash site a lot easier because I would not have to keep editing the flash file everytime I wanted to add a small news post. Also, I would like to know if it is possible to add fully formatable HTML documents in my flash website. Like get the flash movie to call on a totally different HTML file and include it in a scrollable window inside the flash movie. I would need the basics, like the ability to change the background, font size/color etc. So it would not shoit the HTML tags, but the actual output of the HTML file. Possible?

View Replies !    View Related
Want To Take HTML Website And Make It In FLASH
The website for our business is made with mostly PHP and HTML. I want to make it over in flash. I know nothing about flash and want to learn how to make websites in flash. Is there a specific name for this process of making sites in flash?

If anyone could point me to specific tutorials or a great book to get I would really appreciate it. I plan to be using flash 5.

View Replies !    View Related
Flash Intro To HTML Website
Will someone please help me figure out how to make a flash intro go to a HTML website. See Website. On this website there is a little into and if you don't press any buttons it will automatically take you to the website. How do they do that?

View Replies !    View Related
Html Code In Flash Website?
I have recieved some html code to but on my site to display a logo and link for me being a member of the bbb. How do I attach the html code in flash so it shows this logo where I want it? I know it is so easy in html page but not sure how to do this in flash mx.



Thanks

View Replies !    View Related
How Do I Center My Flash Website In Html
I can't seem to figure out how to center my flash website in the html file. I want my swf to be centered on the screen, can anybody help me?

View Replies !    View Related
Is It Possible To Put An Html Page In Your Flash Website?
i wanna make a flash website but some pages need to be in html...is it possible to do that?

View Replies !    View Related
Flash Buttons In Html Website
I'm very new to flash, but trying to learn. I would like to use flash animated buttons on my website, but not even sure if its possible.

So here is my question: Is it possible to use flash buttons in html website?

And if so, what code do you use? How does it work?


Thanks for any help

View Replies !    View Related
HTML Embedding Flash To A Website
Ok. I made my first EVER flash movie. I bought some books on how to MAKE the movie and read everything i could on the net, but i can not seem to find the answer to my questions.

I have dreamweaver mx 2004 and read that you can import your flash file and it will give you the basic code so i did that, changed the file path names to the actual file paths that the files were uploaded to on my server, and i STILL cant get it to work.

This is the HTML i am trying to use: (this is with the local path, not my website path)

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="

View Replies !    View Related
Embedding HTML Into My Flash Website
Hello All,

I am new here I bought a Flash template and have edited the content and now I need to know how to embed a HTML code, it is actually a music store to sell product and I am at wits end!!!!!!!!!

Can somebody Help poor little ol' me LOL

Thanks in advance for your time

View Replies !    View Related
Flash Buttons On Html Website
Just a simple question. I want to put some flash animated buttons on my website, and was wondering if it would be better to create each individual button as a seperate flash file or make all the buttons together in one flash file and display it on the page.

Thanks for the help

View Replies !    View Related
Use Flash Animation To Create An HTML Website
Hi there,
This is the first time I post on this forum so hi to everybody.
I have a a couple of questions I hope you will be able to help me with:
I have just created my flash animation (swf, swi and html files). Now, what I want to do is convert it to create a new static html page, with no animation but keeping the same images, design and layout, which I will use as a pattern to create the rest of my website in a normal Html editor. Does anybody know how I can do that? Does a software exist or can I use Swish?

View Replies !    View Related
Converting A Flash Website To An HTML Site?
Hello folks,

If I create a web layout in Flash, what is the best way to convert it to Fireworks or Dreamweaver so that I can have an alternative HTML site to my Flash website?

Thanks!

View Replies !    View Related
Using Flash Drop Down Menu For Html Website
Hi everybody,

I am wondering if someone can advise what I can do with Flash Drop Down menu using for html website. The problem is that I cannot make this website in frames. It would easily to solve this problem. Also, I need the drop down menu to show the actual name of the link corresponding to the html page is loaded. Now, when another html page is loaded it also loading the flash drop menu again and of course it started from the beginning. However, I need to make that when html page is loaded with this flash drop down menu to tell the menu to go to the frame where the name of corresponded page is shown and stay there. I need to send the variable from html page. I think I can place it in html page. And then, I need a code that will tell to go to a specific frame in the menu depending on the variable received from html page. I played with that, however, without a success yet.
Any advice is highly appreciated.
Many thanks.

View Replies !    View Related
Display A Html File From Website In Flash
Hi iam new to this forum and please help me!!
====
Is there any possible ways to display a website in a flash movie the easiest way??

I cant really understand how to do it so also could you please make an example swf if possible thank you for helping

View Replies !    View Related
Putting A Flash Video Onto An Html Website
hey im trying to get a code for putting a flash video onto my personal website. does anyone know the code?! any help would be great

View Replies !    View Related
An HTML Calendar Inside Of A Flash Website?
Is it possible to create an easy to edeit HTML calendar within a flash website? ( the website is created in flash, but the owner would like to have a calendar available that he can easily update via HTML)...

many thanks in advance!!!

View Replies !    View Related
Flash Website Html Page Problem
Hi,
I've just uploaded a flash website. I embedded it into a dreamweaver html page and then uploaded the files through FTP. The website works fine but in order to reach the flash site/flash movie I must type the html extension after the main web address i.e. rather than simply typing www.tintedaudio.com I have to type www.tintedaudio.com/homepage.html. How can I change it so that it still acsesses the html file, but without me having to type its extension in the address. I hope that explanation isn't to confusing. Please help
thanks
neil

View Replies !    View Related
Question About Hybrid HTML/ Flash Website
I currently have a website that's pure HTML, and I'd like to replace the simple navigation bar with a Flash counterpart. Why? Because I want to make a navigation bar with animations. My question is this, if the rest of my site is HTML while the navigation bar is Flash, what will happen when a user clicks on a navigation bar button, that animation starts to play, but then the user is taken to another page? I take it the Flash nav bar will be interupted, right? Is there a way to make the nav bar persistant throughout all my pages, so that when the user clicks on the various buttons, the nav bar doesn't reload, and the animations are nice and smooth.

Here's my site: www.leogura.com

Please keep in mind, I don't want to recreate a fully Flash site. I just want to add Flash elements. Thanks.

View Replies !    View Related
Using Flash Drop Down Menu With Html Website
Hi everybody,



I am wondering if someone can advise what I can do with Flash Drop Down menu using for html website. The problem is that I cannot make this website in frames. It would easily to solve this problem. Also, I need the drop down menu to show the actual name of the link corresponding to the html page is loaded. Now, when another html page is loaded it also loading the flash drop menu again and of course it started from the beginning. However, I need to make that when html page is loaded with this flash drop down menu to tell the menu to go to the frame where the name of corresponded page is shown and stay there. I need to send the variable from html page. I think I can place it in html page. And then, I need a code that will tell to go to a specific frame in the menu depending on the variable received from html page. I played with that, however, without a success yet.

Any advice is highly appreciated.

Many thanks.

View Replies !    View Related
Continuous Flash File In Html Website?
Hi, please can someone help. I need to make a html site in dreamweaver but with using a flash music file that runs continuously throughout the site.

If I just put the flash into each page, the music resets itself as soon as you go to the next page.

I know that you can do an iframe in dreamweaver and put each page inside it but is there an easy way, perhaps with some code in flash or any other way to get this working? thanks for any help you can give.

Jon

View Replies !    View Related
So What Is The Best Way To Make A Website? All Flash Or In Combo With CSS, HTML?
My friend is die hard web standard guy (all about CSS and HTML, etc). He doesnt really like the all-flash sites. My question is what do you guys think is the right answer or is there one? My friends main issue with Flash is its inability to be seen by search engines since all the text/relative content is contained within flash and thus unseeable by search engines unlike text that is part of a HTML page.

Is that a valid reason or are there ways to do this in all-Flash sites so search engines see your content and put you near the top (besides doing things like meta tags that could have nothing to do with your sites content).

Thanks.

View Replies !    View Related
Adding A Flash Website Html Scrollbar
Hey!

I've been looking around in the internet and in the Kirupa's forum as well but haven't found the solution for my problem so far.

Basically, the efect i want to create is like a simple html/css webpage which has dynamic height. That means, page height depends of the text ammount.

So, when i come to flash, i am able to create a full screen website with the scrollbar of the overflow. But how can i make it dynamic? So the height of flash movie depends on movie clip size in flash?

Thanks in advance!

View Replies !    View Related
Using Flash Drop Down Menu With Html Website
Hi everybody,



I am wondering if someone can advise what I can do with Flash Drop Down menu using for html website. The problem is that I cannot make this website in frames. It would easily to solve this problem. Also, I need the drop down menu to show the actual name of the link corresponding to the html page is loaded. Now, when another html page is loaded it also loading the flash drop menu again and of course it started from the beginning. However, I need to make that when html page is loaded with this flash drop down menu to tell the menu to go to the frame where the name of corresponded page is shown and stay there. I need to send the variable from html page. I think I can place it in html page. And then, I need a code that will tell to go to a specific frame in the menu depending on the variable received from html page. I played with that, however, without a success yet.

Any advice is highly appreciated.

Many thanks.

View Replies !    View Related
I Have A HTML Website And Need To Know How To Load A Flash File As A Pop-up Window
I have a HTML website and need to know how to load a flash file as a pop-up window.

What would be the code within the HTML file. I need the Flash media file (which is a music player) to load up automatically as a pop-up window.

The link to the SWF file is:

http://www.trippblake.com/cd/wimpy-m...pg&tptBkgd=yes

View Replies !    View Related
Link Flash Intro Page To Html Website
I have a Flash animation page that runs for about 20 or 30 sec. Once the animation is done playing I want it to automatically go to the home page of my website. Is there some code that I can use to accomplish this?

thanks in advance,
ar

View Replies !    View Related
Loading Flash Into Html Website - White Background
Hi, i have a html which loads a few small flash movies.
The problem im having is that when the html page loads it leaves white squares where the flash would load up, and doesnt look very good, can anyone tell me away around this please,

Thanks.

http://www.guidingchoices.com

View Replies !    View Related
Open Html Window Inside Of Flash Website?
when a user presses say Forums i would like an animation to roll a table out on the page , then the html open only on that table , something kinda like a iframe in html
i pretty new to flash soo it might be basic but i have no idea what its called

i included a rough image , i want the forums or whatever it is to open only on top of the front slab
any help would be mush appreciated
Thanks

View Replies !    View Related
Link Flash Intro Page To Html Website
I have a Flash animation page that runs for about 20 or 30 sec. Once the animation is done playing I want it to automatically go to the home page of my website. Is there some code that I can use to accomplish this?

thanks in advance,
ar

View Replies !    View Related
Flash/html Hybrid Website With Shopping Cart
I was wondering if creating an all flash site with the exception of 1 frame where text content and shopping cart goes is a better solution then creating an all flash website but when the user wants to shop a pop up html shopping cart comes up.

View Replies !    View Related
Play Continuous FLASH Movie In HTML Website
Currently, I have an HTML wesbite with a FLASH movie at the top of every page. The movie is just a slow, simple animation that fades images and type in and out, no action script. What I am looking for is a way to have the Flash movie, play continuously throughout the site; no matter where the user clicks, the movie should continue animating in the same place it left off. Currently, it reloads/starts from the beginning every time I navigate to another page.
PLEASE HELP!!

Please email me if you have any questions.

View Replies !    View Related
Full Flash Website Vs. Hybrid HTML/Flash?
Im looking to building a website. Anyone have any suggestions which route to take whether a full Flash site or a hybrid HTML/Flash site? Im leaning towards a hybrid site cause I believe it will be easier for me to get it up and running quicker cause of my low level Flash skill level.

ToolJob

View Replies !    View Related
HTML FORM Into Flash
Hi
I have a form in HTML that I want to use in Flash
Check out http://userwww.sfsu.edu/~nino/mail.htm
I want to use this same type of form in flash.. how do i do this?
Ive tried using input text boxes in flash but i dont know what code to put in...
please help me thanks!

View Replies !    View Related
HTML FORM Into Flash
Hi
I have a form in HTML that I want to use in Flash
Check out http://userwww.sfsu.edu/~nino/mail.htm
this is the webpage im trying to make into flash form
I want to use this same type of form in flash.. how do i do this?
Ive tried using input text boxes in flash but i dont know what code to put in...
please help me thanks!

View Replies !    View Related
.html Form --> Flash PLEASE HELP
How do I make a html text form (below) send the text thats in the field, into Flash?

Ex:
1) When a person cliks on a link in Flash they get a pop up html window connected to a php.

2) When they click on the upload button they get to choose a .jpg thats on their hard drive.

3) Then the name of the .jpg appears in the text field next to the button.

4)Then when they click the send button it adds the .jpg to a file named upload on my server.

It works perfectly, but i want it to send the name of the .jpg that appears in the html text field, into Flash.

Thanks! Heres the HTML and PHP scripts I'm using:

HTML script:


Code:
<HTML>
<HEAD>
<TITLE>Movie2</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<form action='upload.php' method='post' enctype='multipart/form-data'>
<table cellspacing='10' style='background: #DDD; border: solid #009;
border-width: .3em 0 .5em 0;'>
<tr>
<th colspan='2' style='background: #BBB; color: #000;
text-align: center; padding: .3em;'>File Upload</th>
</tr>
<tr>
<td style='vertical-align: middle'><b>FILER ></b></td>
<td><input type='file' name='file' /></td>
</tr>
<tr>
<td colspan='2' style='text-align: right;'><input type='submit'
value='Submit' /></td>
</tr>
</table>
</form>
</BODY>
</HTML>
PHP script:


PHP Code:



<?php
if ($HTTP_POST_FILES['file']['size'] < 50000)
{
move_uploaded_file($HTTP_POST_FILES['file']['tmp_name'],
'uploads/' . $HTTP_POST_FILES['file']['name']);
echo '&status=ok&';
} else
{
echo '&status=error&';
}
print "<img src="uploads/" . $HTTP_POST_FILES['file']['name'] . "">";
?>

View Replies !    View Related
.html Form ----> Flash PLEASE HELP
How do I make a html text form (below) send the text thats in the field, into Flash?

Ex:
1) When a person cliks on a link in Flash they get a pop up html window connected to a php.

2) When they click on the upload button they get to choose a .jpg thats on their hard drive.

3) Then the name of the .jpg appears in the text field next to the button.

4)Then when they click the send button it adds the .jpg to a file named upload on my server.

It works perfectly, but i want it to send the name of the .jpg that appears in the html text field, into Flash.

Thanks! Heres the HTML and PHP scripts I'm using:

HTML script:


Code:
<HTML>
<HEAD>
<TITLE>Movie2</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<form action='upload.php' method='post' enctype='multipart/form-data'>
<table cellspacing='10' style='background: #DDD; border: solid #009;
border-width: .3em 0 .5em 0;'>
<tr>
<th colspan='2' style='background: #BBB; color: #000;
text-align: center; padding: .3em;'>File Upload</th>
</tr>
<tr>
<td style='vertical-align: middle'><b>FILER ></b></td>
<td><input type='file' name='file' /></td>
</tr>
<tr>
<td colspan='2' style='text-align: right;'><input type='submit'
value='Submit' /></td>
</tr>
</table>
</form>
</BODY>
</HTML>
PHP script:


PHP Code:



<?php
if ($HTTP_POST_FILES['file']['size'] < 50000)
{
move_uploaded_file($HTTP_POST_FILES['file']['tmp_name'],
'uploads/' . $HTTP_POST_FILES['file']['name']);
echo '&status=ok&';
} else
{
echo '&status=error&';
}
print "<img src="uploads/" . $HTTP_POST_FILES['file']['name'] . "">";
?>

View Replies !    View Related
Html Form To Flash
hi guys,

I have a javascript code and a html form. I want to convert all this to a Flash

Javascript (in head)

Code:
<SCRIPT LANGUAGE="JavaScript">
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="member1" && password=="password1") { window.location="page1.html"; done=1; }
if (username=="member2" && password=="password2") { window.location="page2.html"; done=1; }
if (username=="member3" && password=="password3") { window.location="page3.html"; done=1; }
if (done==0) { alert("Invalid login!"); }
}
</SCRIPT>
and this is the form (in body)


HTML Code:
<form name=login>
<input type=text name=username>
<input type=text name=password>
<input type=button value="Login!" onClick="Login()">
</form>
Acceptable any idea
Thanks in advance.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved