Flash Forms
Hi Guys,First time here. I am trying to do several things with a website that I am creating but I want to start with adding a form to my site. How do I do that? My site is located at idopostcards.com and I want to add the form above the logo and to the left of the big box.Thanks.Edited: 06/14/2007 at 03:14:06 PM by ywimc
Adobe > Flash General Discussion
Posted on: 06/14/2007 03:10:28 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Converting Html Forms To Flash Forms?
i'm in the middle of creating a website for a record company. i've been doing it all in flash, so when they asked me to set up a newsletter facility, i decided it would be in flash. here's my problem:
the host i'm using has a newsletter add/remove facility in html. i've tried converting this into flash but it just wont work! the html form code provided by the hoist (which does work) is below:
<form action='http://cp.cyberstation.co.uk/list.cgi' method='post'>
<input type='hidden' name='list' value='Newsletter'/>
<input type='hidden' name='redirect-success' value='http://www.mickhayglaziers.co.uk/complete.html'/>
<b>Our Mailing List</b><br/>
<input type='text' name='email'/><br/>
<input class='radio' type='radio' name='action' value='add' checked='checked'/>Subscribe
<input class='radio' type='radio' name='action' value='delete'/>Unsubscribe<br/>
<input type='submit' value='Do it Now!'/>
</form>
The actionscript i used on the submit button when converted is:
on (release) {
list="Newsletter";
action="add";
loadVariablesNum ("http://cp.cyberstation.co.uk/list.cgi", "0", "Post");
}
The button is also, along with the list and action variables, on the main timeline!
can anyone offer any insight to where i'm going wrong?
Email Forms, Feedback Forms
I have posted the same topic on the other section but i thought perhaps this one would be more appropiate?
I need help with creating a feedback forms (name, phone nubmer, email, comments etc) in a flash site.
I have d/n a CGI script that comes with the tutorial in Flash Kit. and I also found a PHP scripts that i was told it should do the same thing.
I am new to BOTH, CGI or PHP whatever,
After i read the CGI mail form tutorial , it seems like i need to link the button to cgi-bin/whatever.cgi right? How about PHP? Questions is DO i just paste the PHP code in the action windows of flash MX or place the code in a html page that creates a seperate window?
What is easier for newbees like me and is there any easier approprach?
__________________
*!* I really need some help *!*
Forms, Nested Forms, And Masks?
Is there a way to provide a mask that applies to nested slides and forms? I have a structure that looks like this:
Form1
Slide1
SubSlide1
SubSlide2
SubSlide3
SubSlide4
SubSlide5
SubForm1
SubForm2
The app starts and shows Slide1 containing a background provided by Form1 then based on button rollovers the sub slides show with a nice fade transition. This all works GREAT.
When the button is clicked the selected SubForm1 or SubForm2 screens (which contain separate swf files) is displayed with a left to right “fly in” transition while the Slide1 is hidden with a right to left “fly out” transition. Now again this works great except for the fact that I need a mask so that the user does not see the SubForms flying from outside the bounds of Form1.
I have tried applying masks to ALL forms and subforms with no success (including the masks to forms in the external swf files on the SubForms.) Is there a way to make this work or do I have to use a loader component to make the mask work the way I want?
Thanks,
R. Sparrow
Forms On Flash
Hi! i am making a website on flash and i want to know how to use forms in flash! can you use a CGI script? if so how!
PLEASE PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!
ICE
Flash Forms
Hello,
does anyone know how to create a flash button that allows a user to attach a file to an email form. The form validation and processing is handled by ASP, i dont know if this makes any difference???
Cheers
D
Forms In Flash
My question is, is it possible to design forms and have the infomation sent to an email adress when the form is completed. I know how to go about doing this with regualr html forms but how do i go about doing it in flash. Please let me know of all the coding that must be used or directing me to a website that has a tutoial about it.
Mark
Forms In Flash
Do I need to use cgi/perl to submit a form to an email address? Someone told me to just put your email address, but other people say that this will not work for people using aol or compuserve. I'd like to use a form, especially since flash makes them look better than the default browser ones.
thanks.
Forms In Flash
Hello all,
Does anyone know the best way to send information using a form in flash. I am trying to avoid using a FormMail script. I know in some applications you can send the information in an email without using any script at all. Is there any way to do this in Flash 5???
Any help is appreciated.
Forms In Flash
Me again,
This is my problem: A client is using Netscape 4.7. I am trying to send a form using a CGI script and it works (kind of) in IE and Netscape 4.7. The problem is the script wants to open a new window after submitting the information. Is there a way to keep this window from opening?? I have tried a "redirect" but no luck in Netscape. It just opens a new window with the beginning of the flash movie.
Is there any way that I can send this form without using a CGI script?? I know in some applications you can send the information in an email without using a script at all. Is this possible in Flash??
Here is the url to the site.
http://www.odessatex.com/test/
click "available sites" to get to the form. All the fields are required except work phone.
Here is the script I am using as well.
on (release) {
recipient = "my_email_address";
subject = "online_information";
if (name eq "") {
gotoAndStop ("sorry", 1);
} else if (company eq "") {
gotoAndStop ("sorry", 1);
} else if (address eq "") {
gotoAndStop ("sorry", 1);
} else if (city eq "") {
gotoAndStop ("sorry", 1);
} else if (state eq "") {
gotoAndStop ("sorry", 1);
} else if (zip_code eq "") {
gotoAndStop ("sorry", 1);
} else if (email eq "") {
gotoAndStop ("sorry", 1);
} else {
getURL ("http://my_script_url", "_blank", "GET");
gotoAndStop ("for_sale", 1);
}
}
Thanks in advance.
Forms In Flash?
How do I get forms to work in flash? I would like to have the button send the info to my cgi program, and still remain on the same page, and if for some reason the cgi program has an error that it send the info to flash. Is that possible?
I plan on doing form validation in flash before though, but it wont catch everything. I'm guessing the best way to do forms is to use getURL and use POST and send it to a popup window. Is this correct? Any ideas, tips, etc?
Forms And Flash
I am using the "load variables" script to send variables to a formmail.cgi program. It seems to work fine one minute then not work at all the next. Any ideas? Also, whats the best way to clear the fields so if the user returns to the section again the previous information is gone. Thanks
Flash Forms
Alright, I'm not sure if this is a newbie question or not but I figured since no question is a stupid question in the newbie section it would be a place to start. Well...
I wanna create a guest book type database where you can submit forms and then view them later kinda like saving them. I wanna know the easiest way to do this. Again I 'd like to know the EASIEST way.
Forms In Flash
i am trying to set up a form that the user fills out and then i recieve all the info in my eamil, i am using a cgi script.
mike
twicefound.com
Forms To Flash?
Ok I know that this is a common request but believe me I have look all over and cannot find what I need to know. I need to pass simple .html form values into flash. Wait that might be to simple. I have 4 different form fields(popups) that need to send their info to flash so that flash can use that info to build a file name and then use that file name to load the corrisponding .swf into the _root. level. I thought about the dump file with the info in a .txt file and the retrieve that. But my understanding is that if I do that then if I have multiple users that that could become a bottleneck and problems down the road. Any suggestion or point me in the direction of a tut on this would be great. Sorry to bother.
Thanks
Carter
Forms In Flash
What I want to do is I have a form that is working perfectly in html. But I want to re-create the same 'page' in a flash site. How do I go about doing this?
Forms In Flash
Is there any way to create a form in flash and submit the results to e-mail other than usign CGI?
i will appreciate your advice and help with this question.
Thank you
Forms And Flash Help
hi, i created a form using flash and used the url "http://us.geocities.yahoo.com/forms?login=kcluvsval" and sent using POST. When i fill out the form and click submit, it goes to the page and says "error while processing your input"
here is my script. Please help!!!! (btw, contact.swf is hosted on geocities.) the rest of the site is hosted on a doteasy.com server.
---------------------------------------------
on (release) {
subject = "Dreaming Emotion feedback";
recipient = "asian1@hotmail.com";
getURL ("http://us.geocities.yahoo.com/forms?login=kcluvsval", 0, "POST");
gotoAndPlay ("Thank You");
}
on (rollOver) {
tellTarget ("/submitmov") {
gotoAndPlay (2);
}
}
---------------------------------------------
also, here is a link to the swf.
http://www.geocities.com/kcluvsval/d...on/contact.swf
thanks alot!
Forms And Flash Help
hi, i created a form using flash and used the url "http://us.geocities.yahoo.com/forms?login=kcluvsval" and sent using POST. When i fill out the form and click submit, it goes to the page and says "error while processing your input"
here is my script. Please help!!!! (btw, the contact.swf file is hosted on geocities and the main site is hosted on a doteasy.net server)
---------------------------------------------
on (release) {
subject = "Dreaming Emotion feedback";
recipient = "asian1@hotmail.com";
getURL ("http://us.geocities.yahoo.com/forms?login=kcluvsval", 0, "POST");
gotoAndPlay ("Thank You");
}
on (rollOver) {
tellTarget ("/submitmov") {
gotoAndPlay (2);
}
}
---------------------------------------------
also, here is a link to the swf.
http://www.geocities.com/kcluvsval/d...on/contact.swf
thanks alot!
Flash 5 Forms...
my experience is comprised completely in design. i need to create a form for a client (a staffing company) that allows the user to enter a job description for my client. it will be a very simple form. should i pursue this through flash, or should i try and find an html solution? i have no experience in this stuff...
Flash MX Forms
Hi all. I have a question about making a form in flash mx. I have looked on macromedia's site and all i keep running into is a pizza form tut. I want to make a form with muliple input text fields. I have a sample action scripting from MX itself from the Form.fla and I have been changing it around but I am completly stuck. Can anyone help or point me to a tut other than how to make a pizza form?
I am having problems when it coms to showing me all the input I have put in from the previous page. I will show you the action scripting if it helps:
// push button callback
function onClick(btn)
{
trace("onClick " + btn._name);
if ( btn == pg1next ) {
// next button on page 1
getDataFromUIpg1();// get the data out of ui components on page 1
gotoAndStop("pg2");// go to pg 2
} else if ( btn == pg2prev ) {
// prev button on page 2
getDataFromUIpg2();// get the data out of ui components on page 2
gotoAndStop("pg1");// go to pg 1
} else if ( btn == pg2next ) {
// next button on page 2
getDataFromUIpg2();// get the data out of ui components on page 2
gotoAndStop("pg3");// go to pg 3
} else if ( btn == pg3prev ) {
// prev button on page 3
getDataFromUIpg3();// get the data out of ui components on page 3
gotoAndStop("pg2");// go to pg 2
}
}
// change handler for check box
function onChange(control)
{
if ( control == junkCheck_mc ) {
// enable and disable the list box based on check box value
interest_mc.setEnabled(junkCheck_mc.getValue());
}
}
// get the data from the ui elements on page 1
function getDataFromUIPg1()
{
loginData.nameField = name_txt.text;
loginData.emailField = email_txt.text;
loginData.teleField = telephone_text.text;
loginData.blank = genderGroup.getValue();
loginData.prefer = prefer.getValue();
loginData.overyear = overyear.getValue();
loginData.licenseddriver = licenseddriver.getValue();
loginData.leased = leased.getValue();
loginData.ifyes = ifyes.getValue();
}
// get the data from the ui elements on page 2
function getDataFromUIPg2()
{
loginData.junkMail = junkCheck_mc.getValue();
loginData.presentlease = presentlease.getValue();
loginData.whatmonth = whatmonth_text.text;
loginData.make = make_text.text;
loginData.model = model_text.text;
loginData.modelnum = modelnum_text.text;
loginData.month = month_text.text;
loginData.year = year_text.text;
loginData.wouldlease = wouldlease.getValue();
loginData.stateIndex = howdid_mc.getSelectedIndex();
loginData.interestIndex = interest_mc.getSelectedIndex();
}
// get the data from the ui elements on page 3
function getDataFromUIPg3()
{
// do nothing
}
// set the state of the ui elements on page 1 based
// upon the login data object
function updateUIFromDataPg1()
{
name_txt.text = loginData.nameField;
email_txt.text = loginData.emailField;}
{
howdid_mc.setSelectedIndex(loginData.stateIndex);
genderGroup.setValue(loginData.gender);
// set the state of the ui elements on page 2 based
// upon the login data object
function updateUIFromDataPg2()
{
for (var i=0; i<interestTable.length; i++) {
interest_mc.addItem(interestTable[i]);
}
interest_mc.setSelectedIndex(loginData.interestInd ex);
junkCheck_mc.setValue(loginData.junkMail);
onChange();
}
// set the state of the ui elements on page 3 based
// upon the login data object
function updateUIFromDataPg3()
{
// no ui but here for consistency
nameResult_txt.text = loginData.nameField;
doneResult_txt.text = loginData.emailField;
resultsGender_txt.text = loginData.gender;
resultsState_txt.text = stateTable[loginData.stateIndex];
resultsInterests_txt.text = interestTable[loginData.interestIndex];
}
function initData()
{
// make sure we only call initData once
if ( inited )
return;
inited = true;
// set up the state and interests arrays
// for fun - you can add more entries and the UI will reflect the changes
stateTable = new Array("CA", "NV", "BC");
interestTable = new Array("Golf", "Ski", "Flash Programming");
// modeling the form choices with data
// set initial values
loginData = new Object();
loginData.nameField ="";
loginData.questiontwo ="";
loginData.junkMail = true;
loginData.interestIndex = undefined;
}
__________________________________________________ _________
I am not seeing my email result field. I havent gone to the others yet. How can I see the result from the email field?
I have inputed dynamic text where I need to.
HELP!!
Gary
Flash Forms
hey peeps
im trying to develop a form with checkboxes that will send an e-mail when submitted. i have experience with this using html and cgi, but im curious how to do it using flash mx.
any help would be appreciated! thanks in advance.
CGI Forms From Flash
Hi Guys,
How does one setup regular CGI forms in Flash? More specifically, a simple form that sends the data to a specified email address. How easy is that? Or difficult. Help me out.
Thanks,
Marc
CGI Forms In Flash
Hi Guys,
How does one setup regular CGI forms in Flash? More specifically, a simple form that sends the data to a specified email address. How easy is that? Or difficult. Help me out.
Thanks,
Marc
Flash 5 Forms
Please help me. I am trying to get my head around form processing in flash and have set up a basic form with name, email, comments etc. These variables are contained elsewhere on the .swf file.
on (release) {
subject = "Feed Back Form";
recipient = "xxx@iprimus.com.au";
loadVariablesNum ("http://www.scripts.xxx.com/mailto.asp", 0, "POST");
gotoAndPlay ("ThankYou");
}
How do I get my server which uses asp to recognise and process the form. Forms drive me crazy! They are so easy with standard html. Why are they so hard in Flash?
Flash Forms
hey all,
I was wondering what *free* email services will except flash forms. I am currently using yahoo + lycos and having no luck.
thanx
* * * * Forms In Flash * * * *
OK, I'm using Flash mx, although I've been outputting my files as flash5. I'd say I'm an OK flash dude, but still learning... At any rate, what I'm wondering, is if there's a way to pull data from, like a text file, or an excel spreadsheet, or something and make it so that FLASH references your text file, and you don't have to update/edit the FLA... Kinda like PHP, Only not...heh
I'd also be curious if you could make it so that lets say, your swf file can sense NEW text files in the same directory, and update it's database automatically, y'know like if you had an ACCESS database, and you added a new table...
Anyways, these questions are kind of involved, but hey, even if someone could just point me in the right direction, that would be great. -Thanks in advance!
Forms In Flash?
Is there a way i can have something like an "Enter comments here" and then a "view comments" in flash? So that a comment, when entered, would display name and comment in a certain movieclip?
Im making a livejournal template, and many people have asked for that ability, yet I have no clue how to implement it. Any thoughts?
~DW~
Forms & Flash MX
Hi! This is my first posting. I am creating a form in Flash MX, but it's not working. The form is a movie clip I bring into the main scene.
On the 'SEND' button the action script is:
on (release) {
subject = "Estimate request";
recipient = "forms@webalacarte.ca";
recipient= "karima@webalacarte.ca";
loadVariables("/cgi-sys/formmail.pl","1",'POST');
gotoAndPlay("thanks");
sort = "first,last,mail,tel,list1,list2,cbgraphics,cbpass word,cblogo,cbphotos,cbanimation,cbguest,comment"
}
The CGI address was supplied by my Host. The only other action script is on a seperate layer in the MC and deals with global style format for the UI components. Any suggestions?
You can check the site at http://www.webalacarte.ca
Help With Forms And Flash MX
I am in the middle switching to flash MX for all my forms on my website and need a little help. I am sending URL encoded variables through the loadVariables method to my business logic witch is a bunch of Java Beans. Currently I use input and output wait loops to wait for the response back from the beans. Now for my question... With Flash MX is there an easier cleaner way to get data back and forth without using XML and input/output wait loops??
-bbarre
Flash Forms?
i have HTML forms that use java servlets...i want to change these forms into Flash forms (using MX)...can i simpliy re-use the existing servlets?
what is required for me to do on the Flash side? i'm a newbie, this is all i have so far:
formData = new LoadVars();
formData.name_txt = "";
formData.ext_txt = "";
formData.dept.cb = "";
I do not have the coldfusion server, i dn't think it's needed for this (no database interaction)
Forms In Flash 5
Hello.. I am developing a flash 5 navigation system for a site i am working on. built into the navigation is a login area for the web mail system. i have the text input fields named correctly and i have the hidden variables in place in a blank frame. the only thing i do not know how to add is the name of the form. in the HTML version, the form tag has the form name listed. it's a cgi form, and i am not sure if the form name is a necessary parameter.
any help is appreciated, and please let me know if you need more info.
Flash Forms
How do i make a flash form and have it submit to an email or database? thanks
Forms In Flash
hello: i'm relatively new to flash, am currently taking a class.
i have a pretty basic -- actually, more theoretical -- question about forms in mx. i understand the components and what not, but what i'm not sure is: do forms still use cgi? or can actionscript do it all and therefore you wouldn't need a server side script?
thanks in advance.
Forms In Flash
i gotta do a form in flash, its basically for a dating site. 3 fields, where they choose different options from a drop down menu. The form will have a search button, which when they click....it will search according to their selections. eg:
age: Y
location: X
it should search according to X and Y, or basically within those parameters, how would u go about doing that? what technology would i have to use to hook up a database of people, with the search engine? or what script would i need. thanks.
ps. im using the Flash mx components for the drop down menus.
Forms In Flash
Hey...
Does anyone know where to find good tutorials on how to create forms in flash?
I need to create a newsletter submission field and button and a contact form with many fields. Both need to just send the info in a email to a specified address.
Thanks for your help.
tony
Forms In Flash
I want to design a form in flash that is a survey. I want the results of the survey to be e-mailed to me when the user clicks submit. What is the best way to go about this?
Forms In Flash
Does anybody know where I can find a good tutorial on how to make an email form in flash or explain to me how to do it? I know how to make the form and check to see if all fields are filled in properly, but I don't know what scripts to use to make it work and send the information to the email address that I want. Can someone help? Thanks.
Forms In Flash? Ugh...
hey there.
I need to have a registration page at the end of an intro anim for a new site. I would like to keep the whole thing flash-based. Can someone tell me how or point me towards a tutorial on how to do this?
It would be some basic forms for the user to fill out. I am not even sure what the save options are from there. eMailing? saving to a database of some kind?
let me know if you can! thanks!
Spin
I Need Some Help With Forms In Flash
i need a form in flash(or html/javascript) that looks like and does the same thing as the one in the link does(lions buisness search). this one is done in asp...i dont know asp at all...can anyone help me or send me a tutorial ?
http://www.lionspub.com
thanks...
chana
chanafortune@hotmail.com
Forms In Flash Mx
I have searched the tutorials for creating forms and have had no luck, or wasn't sure it it was the right tutorial. Anyway, my problem is;
I want to create a form in flash which contains the fields:
Name:
Company:
Job Description:
Quantity:
Weight:
Finish:
Additional info:
etc
In these fields I would like the user to be able to fill in the required information and then hit a button which will email the info to myself. Can anyone help?
Forms In Flash MX?
I am on Flash MX.
I've been trying to use the form components in the components panel.
how do i use these to write them to a database?
i supose i gotta learn PHP, which I will sometime
How can i have them emailed also, and is this recommended?
Forms In Flash
How the hell do you do a form to submit to an email? Please help?
About Forms In Flash 5
I have a form in one of the website's pages, it's like information form, I want the users to input their data (name, email..), also I want to add a send button so when the user hits it, all the information will get to me via "e-mail", not via php, perl..or something else.
I already created the form, named all the input feilds, made them variables, but I don't know how to do the rest.
Any help will be very appreciated.
Forms In Flash
Does anybody here know how to construct a feedback form in Flash?
Perfectly happy to pay for tech support here.
I need to create a contact form for customers in which they can specify their product interest . . . and then submit the form.
Thanks,
Dana
jaguarwoman.com
Flash Forms?
is it easy to set up a form in Flash? How does it handle radio buttons and drop down menus?
Do forms need a certain version of the Flash player to work?
I'm running Flash MX.
thanks
Forms In Flash MX
how do i create a form in Flash MX details that the client wants on it are
Name of Company
If not Limited company status ˆ partnership, sole trader etc
Address
Turn over 0-150k, 151k-250k, 251-500k, 501k-1m, above
Number of debtor
Number of temps
Factoring at present
Do you require factoring
Accountants details/payroll details
i don't know who is serving it (neither does the client)
and i have basic knowledge of Flash
hopes you can help
Flash Forms
Question, a simple one I'm sure.
To send a form in flash, through cgi.
What is the correct actioscript to use on the buttons?.
Thanks.
FLASH FORMS....where Does This Go?
Ok, so i am making a Flash form through a free service called HFORM. It is really nice i might add. Now i have no problem creating great forms on html, but i want to make a form in flash. The only thing they give me is a form "ACTION". Here is an example...
<_form action="http://www.hform.com/handler.cgi?1464321" method="POST">
In which http://www.hform.com/handler.cgi?1464321 is what is given to me. How can i use this one line action to submit a form in Flash!? PLEASE HELP!! Thanks
Help With Flash Forms
Hi
I'm working on a simple guestbook. it has a form where someone can add a comment, and it writes it to a text file.
How do I deal with HTML entities? If I toggling the HTML ennabler in the text box doesn't seem to do anything? I'd like to set it up so someone can enter a link, or maybe a bold tag. but beyond that I suppose I'd have towrite some regexp on the php side to make sure the html isn't messed up, because if it is, and hte HTML is enabled, then all of the text after it doesn't show up.
Anyone know how to make this thing work???
Thanks!!
Frizzo
FORMS & Flash
Does anyone know about using forms in Flash? I've found one in the FK submissions area, but i cant get it to work. Im sure its an obvious mistake - just noy obvious to me! Apparently have to put the .swf and the .php in the same folder on the server which ive done. But it still doesnt work.
the PHP is as follows :
<?
$adminaddress = "MY EMAIL";
$siteaddress ="http://MYADDRESS";
$sitename = "MY SITE";
//No need to change anything below ...
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
// Gets the POST Headers - the Flash variables
$action = $HTTP_POST_VARS['action'] ;
$email = $HTTP_POST_VARS['email'] ;
$name = $HTTP_POST_VARS['name'] ;
$comments = $HTTP_POST_VARS['comments'] ;
$phone = $HTTP_POST_VARS['phone'] ;
$diners = $HTTP_POST_VARS['diners'] ;
$time = $HTTP_POST_VARS['time'] ;
$dates = $HTTP_POST_VARS['dates'] ;
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action == "send") {
//
mail ("$adminaddress","Info Request",
"A visitor at $sitename has left the following information
Name: $name
Email: $email
Phone: $phone
Diners: $diners
Time: $time
Date: $dates
The visitor commented:
------------------------------
$comments
Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress" ) ;
//This sends a confirmation to your visitor
mail ("$email","Thank You for visiting $sitename",
"Hi $name,
Thank you for your interest in $sitename!
Cheers,
$sitename
$siteaddress","FROM:$adminaddress") ;
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Thank you. You will receive a confirmation email shortly.";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo $send_answer;
} //
?>
|