Coverting HTML Form To Flash
I have Flash 8 and I'm wondering how would I go about converting the below HTML form to a Flash Login? Code: <form action="http://mysite.com/community/index.php?action=login2" method="post" style="margin: 3px 1ex 1px 0; text-align:right;"><input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" /><select name="cookielength"><option value="60">1 Hour</option><option value="1440">1 Day</option><option value="10080">1 Week</option><option value="302400">1 Month</option><option value="-1" selected="selected">Forever</option></select><input type="submit" value="Login" /><br />Login with username, password and session length</form> I know very little about Flash and am at a complete loss. Thanks in advance!
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 02-13-2006, 12:15 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Help With Transfering & Coverting Html Forms To Flash 8
Hello,
I need help with coverting the below script used in front page to flash 8.
<form method="POST" action="http://www.email.com/cgi-bin/mailform.exe">
<p style="margin-top: 0; margin-bottom: 0">
<input type="text" name="T1" size="31" value="Type in Your Full Name" tabindex="1" style="font-family: Tahoma; font-size: 11"></p>
<p style="margin-top: 0; margin-bottom: 0">
<input type="text" name="T2" size="31" value="Type in Your Email Address" tabindex="2" style="font-family: Tahoma; font-size: 11"></p>
<p style="margin-top: 0; margin-bottom: 0">
<textarea rows="3" name="S1" cols="18" tabindex="3">Type in Any Additional Information</textarea></p>
<p align="left" style="margin-top: 0; margin-bottom: 0">
<input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
<input type="hidden" name="email_from" value="website@xyz.org">
<input type="hidden" name="email_server" value="mail.email.com">
<input type="hidden" name="email_subject" value="Website Contact Form">
<input type="hidden" name="email_to" value="contact@xyz.org">
<input type="hidden" name="success_message_url" value="http://www.xyz.org/test">
</form>
Help Coverting To Flash 5
hi all, can any1 please convert these files so that they can open in flash 5. (the fla's)
www.pellepiano.com/tester/movie1.fla
www.pellepiano.com/tester/movie1.swf
www.pellepiano.com/tester/movie2.fla
www.pellepiano.com/tester/movie2.swf
pellepiano gave them 2 me as an example but they don't open in flash 5
thanks
PrOtOcOl > dOmInAtE > CoNtRoL
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
Best Way Of Coverting Flash To .avi Or Animated .gif?
I want to put into my powerpoint presentation some flash. I found a plugin what also flash to be insterted. The only problem is that I must burn my presentation on a cd with their viewer(since my school does not have the same version as me) and the viewer does not expect flash.
So I need to change some how my flash stuff. I tryed so many flash to .avi converters but they all ruin the quailty of the flash stuff or since their trail version they put a nice big red x through them.
So any ideas on what I should do I need them in their. I just need to add the flash to my project and I am done.
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
Coverting A (php)variable To Numeric Value In Flash
ok,
I got this script from axis100 yesterday
(php)
// Open directory
$myDirectory = opendir("path odirectory");
// get each entry
while($entryName = readdir($myDirectory))
{
$dirArray[] = $entryName;
}
// close directory
closedir($myDirectory);
// count elements in array
$indexCount= (count($dirArray));
// return the amount of files in the directory to flash with :
print "&myVariable=" . urlencode($indexCount+1);
(...and this is the flash part)
dirCount = new LoadVars(); dirCount.load("http://path_to/listdirectory.php");
dirCount.onLoad = function(success) {
if (success) {
_root.myVariable = this.myVariable;
} else {
trace("directory listing error");
}
}
its working fine long as I onli display the number, but my problem is that I need myVariable to be a numeric value in flash. I've tried
Number(myVariable), but when I trace it it returns: NAN
Does anybody has an idea why and how to convert it.
Coverting A (php)variable To Numeric Value In Flash
ok,
I got this script from axis100 yesterday
(php)
// Open directory
$myDirectory = opendir("path odirectory");
// get each entry
while($entryName = readdir($myDirectory))
{
$dirArray[] = $entryName;
}
// close directory
closedir($myDirectory);
// count elements in array
$indexCount= (count($dirArray));
// return the amount of files in the directory to flash with :
print "&myVariable=" . urlencode($indexCount+1);
(...and this is the flash part)
dirCount = new LoadVars(); dirCount.load("http://path_to/listdirectory.php");
dirCount.onLoad = function(success) {
if (success) {
_root.myVariable = this.myVariable;
} else {
trace("directory listing error");
}
}
its working fine long as I onli display the number, but my problem is that I need myVariable to be a numeric value in flash. I've tried
Number(myVariable), but when I trace it it returns: NAN
Does anybody has an idea why and how to convert it.
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.
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
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
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
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.
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.
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!
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!
.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'] . "">";
?>
.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'] . "">";
?>
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.
HTML Form In Flash Using ASP
Hi friends,
I am new to flash actionscript side, I have a html form and the server side is ASP , I have to convert the form in Flash and the server side should be ASP can anybody help me or guide me where i can get the correct solution or tutorial to do this
Vivek
Html Form In Flash
OK...here is my problem.
I am using an autoresponder system and the company generates the form for me using html. I can not figure out how to use the html form with my flash website. I understand I could build my own form in Flash using php but I don't know how I could make it work with the autoresponder I have.
I hope this makes sense...
Basically, I just want to use an html form in Flash CS4.
How can I do this?
Thank you...
Flash Form Within Html, Using Php
Hi All,
Please look at attached code ;~) The hosting server is windows.
Within flash form i.e. swf I have three varialbles; name, email, and message. form.mc with the following actionscript applied:
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
Submit button named true.btn with the following actionscript applied to it:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
this.form.loadVariables("email.php", "POST");
}
I really need this, really need it for my site. I need my friends, wheres kglad and clbeech?????? Do not mean to shout, but I really need this working ;~)
Thank you for your time and consideration.
Kind Regards,
Boxing Boom
Attach Code
<?php
/***************************************************
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
***************************************************/
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "support@i-tuts.com";
$subject = "Flash Form";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["email"]. "
";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "
";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could send
// email to a hotmail account. (hosting provider settings may vary)
// technically bounced email is supposed to go to the return-path email
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body variable
$message = $_POST["message"];
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
Html Form In Flash
how can i make the form made in HTML using POST in flash????????
can anyone tell me a very good free webhost for my personal page also.....
Html To Flash Form Help
i'm having a problem with trying to convert a html form code to flash heres the html
HTML Code:
<form method=post action=http://www.ymlp.com/subscribe.php?blissneso>
<table border=0>
<tr>
<td>Name:</td>
<td><input type="text" name="YMLP0" size="20"></td>
</tr>
<tr>
<td>Email:</td>
<td><input type="text" name="YMLP1" size="20"></td>
</tr>
<tr>
<td colspan=2><input type="submit" value="Submit"></td>
</tr>
</table>
</form>
which works perfectly fine. When i attempt to convert to flash though it doesnt seem to recognize the email address and gets an error
heres the fla file, hope someone can help.
HTML Flash Form . . .
Hello, I've been searching for alternative ways of creating a Flash form besides using php or a program like that. My question is: Is there a way to create a Flash form that goes through html or something? Even maybe imbedding an html form into the Flash file. If that wouldn't work, what would be another way (without php or asp)? Thanks in advance!
In-between Flash Form And Html
I have set up a form in html using cgi-bin. The form itself is executed via flashmx, where a pop up is displayed via executing my html document. All works perfectly. Except I now require a close button, but bear in mind this is not a flash element as such. I have tried placing such a line of code on the button in the html document but all it does is execute a blank page not found window.
window.close();
I understand this is not flash, but it is kind of linked with my flash development, So if anyone does have an idea for what I am asking please advise, as it is becoming a stress and a half.
yours
Trev
Html Form In Flash
how can i make the form made in HTML using POST in flash????????
can anyone tell me a very good free webhost for my personal page also.....
Flash Over Html Form
i put on banner.swf in a page. on mouse over from banner.swf the banner growing over the page.but in page it's form who appear front a flash.
Html Form In Flash
Hello all...this is my first post here, thanks for having me.
I have done some research and have not had much success with this. I use an autoresponder and the company generates the form in html only. I somehow need to get the html form in my flash site.
I am sure other people are using flash sites and have a form with an autoresponder attached...however I can not seem to find a solution. I know I could build a form in flash using php but I don't know how to tie that to my autoresponder.
Can someone please shed some light on this for me?
Thanks
How Do I Fill A Form From Flash To HTML?
Hi
Im currently doing a large Golf Tour web site and want to have a flash file showing all the tours, I want to be able to search the flash movie click on a button (in flash) and add this to a form in HTML.... Is this possible?
Attached is a test zip file if anyone wants to test it quick and can attach a response!
Cheers.... !!
How Do I Fill A Form From Flash To HTML?
Hi
Im currently doing a large Golf Tour web site and want to have a flash file showing all the tours, I want to be able to search the flash movie click on a button (in flash) and add this to a form in HTML.... Is this possible?
Attached is a test zip file if anyone wants to test it quick and can attach a response!
Cheers.... !!
Filling In A HTML Form From Flash
Hi there...
Ive had lots of help to get this to work but am still struggling, I basically have a form that has a variety of sections in HTML and I want to be able to bring in information from a popup external flash file.
I have attached an example of the situation, so far I have had help getting the file to link and then once clicking on button it closes window and adds the string function to the top of the previous page (INDEX.htm)
All I want to know is how to get the value into the form box??
When looking at attachment click index to open and from there you will get the jist!
If possible could you attach file if you can figure it out!! As I am a beginner!
Cheers for any help JP
Converting An Html Form To Flash
I am trying to convert this html form to flash. I have the basics in movie clip but I am having trouble understanding how to pass the variables in the input boxes to the search engine.
Here is the html code
<!-- BEGIN BIBLEGATEWAY.COM SEARCH FORM -->
<table width="360" border="1" cellspacing="0" cellpadding="0" bordercolor="#281C36"><tr>
<td bgcolor="#CAC6D7" background="http://www.biblegateway.com/images/forms/background.gif">
<img src="http://www.biblegateway.com/images/forms/title.gif" alt="Search the Bible with BibleGateway.com">
<table border="0" cellspacing="0" cellpadding="2" align="center"><tr><td> </td><td>
<form action="http://www.biblegateway.com/cgi-bin/bible" method="get">
<input type="text" name="search" size="22" value="Search by Keyword" onBlur="if(this.value==''){this.value='Search by Keyword';}" onFocus="if(this.value=='Search by Keyword'){this.value='';}" style="font: normal 10px Arial, Helvetica, sans-serif">
</td><td>
<input type="submit" name="Submit" value="Go" style="font: normal 10px Arial, Helvetica, sans-serif">
</td></form><td> </td>
<form action="http://www.biblegateway.com/cgi-bin/bible" method="get">
<td>
<input type="text" name="passage" size="22" value="Search by Passage" onBlur="if(this.value==''){this.value='Search by Passage';}" onFocus="if(this.value=='Search by Passage'){this.value='';}" style="font: normal 10px Arial, Helvetica, sans-serif">
</td><td>
<input type="submit" name="Submit" value="Go" style="font: normal 10px Arial, Helvetica, sans-serif">
</td></form><td> </td></tr></table>
<img src="http://www.biblegateway.com/images/forms/sig.gif" alt="BibleGateway.com is a service of Gospelcom.net">
<center>
<a href="http://www.biblegateway.com/help/webmaster_tools/form.php" style="font: bold 10px Arial, Helvetica, sans-serif; color: #666699; font-weight: bold;">
Include this form on your page
</a></center></td></tr></table>
<!-- END BIBLEGATEWAY.COM SEARCH FORM -->
HTML Or Flash Form Help Urgent
Hey everyone!
I just posted this message on the Adobe support pages, but is it possible in Flash? If so can someone help?!
Many thanks
Arrann
"A client has asked if they can have a CD which does something on the lines of downloading text into a word document for them to edit.
I have uploaded a simple table here:
http://homepage.mac.com/arrannknott/test/
What I need the users to do is to be able to select any of the checkboxes, and when they hit "Go" a word document is generated that has JUST the text from the items they have chosen and then opened or saved to their machine.
This all needs to run from the CD which will have all the files on it. I assumed forms would be the best way to do this but I have absolutley no experience with forms!
I'm on a Mac running OS 10.3.8. and running GoLive CS."
Is this possible at all in Flash?
Flash, Javascript And HTML Form
I have a map i created in Flash that pops up when a user clicks a form text-box on my site. After the user clicks a location on the map, I need the flash window to close and the variable to be entered into the text box on the root html page.
I have a rough understanding of how to do this on a html pop-up, but i'm not quite sure where to start using flash. Any help would be appreciated!
Thanks!
Flash 8 - Form Vars To Html?
Hi there,
I need to have a form in flash where I can send the values to either some hidden inputs on my page or just submit them as the form gets submitted. The whole form can be in flash, if that makes it easier.
I've banged my head trying to find info on this on the 'net, but most stuff seems to be for older versions. I wouldn't think this was so difficult but maybe it is? Any help is appreciated.
Thanks
Tom
Flash 8 Form Submits HTML
Hello, Did a thorough search on the forum and couldn't find a response.
This is my first time working with Flash Forms so excuse my noobiness(?). I built a simple form in flash to submit someone's name, email, and message to a shoutbox database. I tested it out and it actually writes to the database, but it writes HTML along with the entries. I don't want Flash to submit the HTML, I just want it to submit the text. Did I miss something?
I followed the tutorial I found on http://www.acky.net/tutorials/flash/forms/ . When I look at the database, I see that it writes what I wrote in the form, just with HTML wrapped around it.
Any help would be greatly appreciated, thanks.
[F8] How To Create HTML Form In Flash?
Hello,
I haven't tried to create HTML form in flash and I'm practicing on how to do use actionscript to do that. See attached form in HTML.
Please show me the steps on how to make it works (I'm a graphic person not a programmer). I apreciate it very much.
Thank you.
Using HTML Mail Form In Flash
Hey guys (and girls!),
I'm trying to link a simple mail list form in Flash to an external html file. In other words, the html mail form is from a company that makes a mail form (code) that I need to implement into flash.
I have the gist of creating the 3 input text fields (email, firstname, and lastname), and named my MC with the text fields "form" and the text fields, gave them var names of "email" "firstname" and "lastname".
I figured I need to send the info to their cgi file on their server??
PLEASE HELP
I'm also trying to create some code that will go to a thank you page in the flash, but the main problem is more important. Any ideas?? thanks so much!
Here is the code I have on the submit button:
on (release) {form.loadvariables("http://attainresponse-vem.com/cgi-bin/sys.cgi", "POST");
}
Here is the mail form company's code:
<form method="post" action="http://attainresponse-vem.com/cgi-bin/sys.cgi">
<center><font face=verdana size=4> </font>
<table width="400" border="0" cellpadding=4 cellspacing=1 align="center" bgcolor="#000000">
<tr>
<td width="150" valign="top" bgcolor=white>
<div align="right"><font face=verdana size="2" color="#000000">E-Mail</div>
</td>
<td width="250" valign="top" bgcolor=lightyellow>
<input type="text" name="email" size="40" maxlength="70">
</td>
</tr>
<tr>
<td width="150" valign="top" bgcolor=white>
<div align="right"><font face=verdana size="2" color="#000000">First Name</div>
</td>
<td width="250" valign="top" bgcolor=lightyellow>
<input type="text" name="firstname" size="40" maxlength="70">
</td>
</tr>
<tr>
<td width="150" valign="top" bgcolor=white>
<div align="right"><font face=verdana size="2" color="#000000">Last Name</div>
</td>
<td width="250" valign="top" bgcolor=lightyellow>
<input type="text" name="lastname" size="40" maxlength="70">
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#3333cc>
<center><p>
<input type="hidden" name="function" value="customer2">
<input type="hidden" name="un" value="companyname">
<input type="submit" name="Submit" value="Subscribe">
</p></center>
</td>
</tr>
</table></center>
</form>
Converting HTML Form Into Flash
I have a complex form in HTML that ports into Salesforce CMS. I doubt that I can convert the numerous: inputs, values, actions, methods, ect. into ActionScript. Is there plugin or extension to handle this?
or
Is there a way to load an HTML page into a blank movie clip (iFrame)?
Thanks!
How Do I Create My Html For My Flash Form
hi every one i created a form in flash and
i have no idea how to make this action comunicate with the html or php so that the form gets send to the email can any body help me out ive been searchin for days and my head is about to pop.
this is wut i got in my flash actions
-------------------------------------------------------
submit_btn.onRelease = function() {
var my_lv:LoadVars = new LoadVars();
my_lv.firstName = firstName_txt.text;
my_lv.lastName = lastName_txt.text;
my_lv.email = email_txt.text;
my_lv.comments = comments_txt.text;
//my_lv.contractNum = 123456789; ---------this is if needed\
if (firstName_txt.text != "" && email_txt.text != "" && comments_txt.text != "")
{
my_lv.send("/cgi/formail","_blank","POST");
gotoAndStop("success");
}
else
{
gotoAndStop("error");
}
}
---------------------------------------------
can some one help me with wut i gat to put in my html based on wut i got there
HTML/Javascript Form To Flash
I have a form I have been using for quite some time. I would like to turn this code into a widget for myspace. In order to do so I need to turn the following into a flash or .swf file. If anyone can help with this I would highly appreciate it.
Code:
<script type="text/javascript">
function openWin(zip, radius) {
window.open("http://www.driveflexfuel.com/stations/results.php?zip=" + zip + "&radius=" + radius, '_blank', "width = 400px, height = 500px, scrollbars = yes");
return false;
}
</script>
<form id="form1" name="form1" method="post" action="" onsubmit="return openWin(document.form1.zip.value, document.form1.radius.value);">
<table background="http://www.driveflexfuel.com/images/search_table1.gif" width="175" height="175"><tr><td align="center">
<table align="center"><tr><td colspan="2" align="center">
<b><font color="#FFFFFF">
E85 Station Locator<br/>
Enter your zip code<br/></font></b>
<label>
<input name="zip" type="text" id="zip" style="text-align:center" />
</label>
<br/></td></tr><tr>
<td align="center" width="40%"><b><font color="#FFFFFF">Within</font></b></td>
<td align="left" width="60%">
<label>
<select name="radius" id="radius">
<option value="10">10 Miles</option>
<option value="25">25 Miles</option>
<option value="50" selected="selected">50 Miles</option>
<option value="75">75 Miles</option>
<option value="100">100 Miles</option>
<option value="200">200 Miles</option>
</select>
</label>
</td>
</tr>
<tr><td colspan="2" align="center">
<label>
<input name="search" type="submit" id="search" value="Search" style="width: 150px" />
</label>
<font size="2" color="#FFFFFF"><br/><br/>
Powerd By: <a href="http://www.driveflexfuel.com" target="_blank"><font color="#FFFFFF">www.DriveFlexFuel.com</font></a>
</font>
</td></tr></table>
</td></tr></table>
</form>
HTML Form-like Behavior In Flash
Hello,
I'm looking to find a reference that can help me in the creation of Flash user input screens that behave in a manner analogous to an HTML form. Specifically I'm concerned with error checking and data validation. For example, if a user is creating a new record or editing an existing record and they choose to navigate away from the page, the code should check for data changes, and on finding any offer the user an option to save the data. Once the offer is made and responded to the flow of the application should proceed appropriately.
In an HTML form this type of behavior would be accomplished with an appropriately worded JavaScript "confirm" dialog. This dialog allows for a synchronous interaction between the user and the flow of the JavaScript code in which user choice results in how the code flow proceeds. With Flash, such a synchronous event is not inherently possible (to the best of my admittedly limited experience). Without this type of "confirm" dialog, one must create a custom messaging system to communicate with the user, and must also structure the code in such a way that everything is able to achieve the desired effects in an asynchronous manner.
I've tried searching this forum but I don't know how to phrase my search in order to find good results. If anyone has any ideas, links to resources, links to threads, or any other items that might help in my quest to build fully optimized and robust user input forms in Flash CS3, I'd really appreciate the help. Thanks in advance for any advice!
Regards,
Dave
Converting A HTML Form To Flash
I've searched the forums for about 7-10 pages but nothing turned up, so here's my problem.
I'm not sure if this is the right forum for this, it could also be placed in server side, but i'm not sure. OK, here it goes.
I have to make a brand new site for some people. Their old site was in regular HTML and the new site has to be in Flash. On the old site they had a mailform and they want to use the same one with the new site. I just can't get it to work. Here's what I did so far.
The old HTML code:
Code:
<form METHOD="POST" ACTION="/asp/FormMail/FormMail.asp">
<input type="hidden" name="to" value="info@mailaddress.com"><input type="hidden"
name="template" value="/email.txt"><input type="hidden" name="redirect"
value="/thanks.htm"><input type="hidden" name="redirectistemplate" value="ON">
<table>
<tr>
<td>Bedrijfsnaam: </td>
<td><input type="text" name="companyname_required" size="36"> *</td>
</tr>
<tr>
<td>For: (name)</td>
<td><input type="text" name="name_required" size="36"> *</td>
</tr>
<tr>
<td>Afdeling:</td>
<td><input type="text" name="department" size="36"></td>
</tr>
<tr>
<td>Address:</td>
<td><input type="text" name="address_required" size="36"> *</td>
</tr>
<tr>
<td>Zipcode:</td>
<td><input type="text" name="zip1_numeric_required" size="4">
<input type="text" name="zip2_required" size="2"> *</td>
</tr>
<tr>
<td>City:</td>
<td><input type="text" name="city_required" size="36"> *</td>
</tr>
<tr>
<td>Telephone:</td>
<td><input type="text" name="telephone_required" size="36"> *</td>
</tr>
<tr>
<td>E-mail:</td>
<td><input type="text" name="email" size="36"></td>
</tr>
<tr>
<td>Question:</td>
<td><textarea name="question" rows="4" cols="30"></textarea></td>
</tr>
<tr>
<td><input type="reset" value="erase all">
<input type="submit" value="send">
</td>
</tr>
</table>
</form>
This code works. The ASP file it points to is somewhere on the server. This mail form is provided by their provider.
In Flash I made the same textfields and gave them variable names exactly like the HTML ones. I also placed a button and gave it the AS code:
ActionScript Code:
on(press){loadVariablesNum("asp/FormMail/FormMail.asp",0,"post");}
But al of this doesn't seem to work. Can anybody help me out here? I'm really kind of desperate. I've even tried PHP but I don't think their provider supports PHP.
Thnx in advance
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
How Can I Convert This HTML Form To Flash?
Hello all,
I have an html form which subscribes email addresses to a web application but it has some strange hidden objects with brackets that I do not how to use in flash to create the form.
This is the html code:
<form name="Subscription" method="post" action="subscribe.php">
<input type="hidden" name="FormValue_MailListIDs[]" value="18">
Email address<br>
<input type="text" name="FormValue_Email" value=""><br>
<input type="submit" name="Subscribe" value="Submit">
</form>
Can anybody please give me any suggestions? Thank you
Moving An HTML Form To Flash - How Can I Do This?
I hope someone here can help me out with this one.
I'm looking to convert the new/used car search box on this page:
http://www.auffenberg.com/wasp/splash.asp
into Flash.
I was thinking of using an XML form, and I still think that would work, but I'm having some (probably elementary) trouble figuring out how to get the comboboxes and radiobuttons to link together.
I originally thought I could just transplant the form into Flash, but I quickly realized that I had no idea how to actually do that.
Can someone help me out with this? I would be greatly appreciative.
|