Let Users Post A Filled In Form To Your Mailadres From Flash
How can I let my visitors post a filled in form from my flash MX site to my mailadres???
The form is already created, it works fine, but now i just need to be able to post it to my email...
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 02-21-2003, 01:13 AM
View Complete Forum Thread with Replies
Sponsored Links:
HOW - Verify Form Fields Are Filled In?
Hey All;
Is there a simple way to get MX to verify that *required fields in a flash form are filled in, when the submit button is pushed??
I tried using:
on (release){
if (field1 = ""){
gotoAndStop ("fieldempty");
} else {
getURL (".../cgi-bin")
}
}
but no luck.
Any suggestions??
Circusboy
View Replies !
View Related
Email Data From A Filled Form
Here's my question: I have a form that calculates totals. What I want to do is send the results by email.
I tested a simple email form with success (name, email and body message, all input txt fields). The form also works fine (thanks again bamb0006). My problem is getting the resulting data of the filled form in the email body message.
Can you email the results of a completed form that uses static, dyamic and input text fields? There must be means to my end.
View Replies !
View Related
Email Data From A Filled Form
Here's my question: I have a form that calculates totals. What I want to do is send the results by email.
I tested a simple email form with success (name, email and body message, all input txt fields). The form also works fine (thanks again bamb0006). My problem is getting the resulting data of the filled form in the email body message.
Can you email the results of a completed form that uses static, dyamic and input text fields? There must be means to my end.
View Replies !
View Related
Post Here: Users Tutorials
Edit: I cleaned up the thread a bit.
To make it easier for Kirupa, I think that all the people who currently working on a tutorial, or who have finished one, should post here.
That way we know what everybody's doing, and we can beta-test tutes more easily.
pom
OK, here's a list of the tutes that are ready or on the way:The fluid draggable menu by guig0 and Jubby
a PS tute about electric stuff by mdipi
scan lines by mdipi
Spider Webs PS Tutorial by Lostinbeta
Alignment in PS tutorial by Lostinbeta
View Replies !
View Related
[NEW USERS] - How To Post A Question
Here are some general guidelines to keep in mind when posting a question on these forums.
USE SEARCH FIRST
There is a pretty good chance that unless you have some really odd or unique problem that it has been addressed on this forum before (or even hundreds of times before for some issues).
Use the forum's search feature first to see if there are already some good threads on the subject. It's easy to search - just click the "Search" button at the top right of the page.
The Flash forum sticky How to help yourself with Flash lists several methods of finding answers to the most common questions.
BE DESCRIPTIVE
I cannot stress this enough. We cannot possibly help you if you simply post a thread, copy and paste your whole script and say "it has errors what's wrong with it?". Keep this in mind: Explain to us what your script does (or what it's supposed to do). Explain to us what exactly the error is. Is it a Flash IDE error? Your own error reporting? Server error? Or is it just not doing what you want? Remember that you know a lot more about your script than we do. Don't assume we know just what it does.DON'T USE STUPID TOPIC NAMES
Post a descriptive topic name! Give a short summary of your problem in the subject. Don't use attention getting subjects, they're not fair to other users! Things like "PLEASE HELP!" or "URGENT" make your post unfairly look like a priority over other users post who need help just as much as you. Posting non-descriptive leading in topic names just to get more reads will not be tolerated.
Here's a great list of topic subjects YOU SHOULD NOT POST by freebsd: Help me Hello You must know the answer Please help this female newbie Something wrong Come on PHP gurus This one for you Just wondering This is too complicated for me possible? Very urgent I have a question Stupid question Newbie needs help pulling my hair out this is driving me nuts WHAT THE?!?!Generally anything similar to those is unacceptable. Just post your problem.
Here is a good example of a way to post a question about communicating with the server:
"Need help getting Flash to talk to server"
These are bad examples: "I can't figure this out!" "Stupid question..." "Female newbie needs server help" "Help me! Urgent!"ONLY POST THE PART OF YOUR SCRIPT THAT HAS PROBLEMS
Please do not post your entire script in a message. To get help faster, post only the code most related to the problem you are experiencing - really try to single it out. If you have to use 2 or more posts just to fit your code in, that is probably a good clue that you are posting way too much of it and it's not going to be easy for anyone to help you pinpoint the problem, especially not having run the script themselves.
A PICTURE CAN SAY A THOUSAND WORDS
Sometimes it can be hard to describe your problem verbally, in these cases a single or series of images could convery everything. To use an image with the forum you have to first upload it to an online server and then post a link to it. I personally recommend ImageShack as your free all in one solution to this. Here's a simple step by step guide of how to get your image into a thread: Head over to ImageShack Pick "Image" as the type and then browse to the image on your system Click the "Host It" button at the bottom of the form. Once the image has been uploaded you will be presented with a series of links to the image. You should pick "Thumbnail for forums (1)". You could pick the "Hotlink for forums (1)" or "Direct link to image" options but doing this for images with a large file size is generally frowned upon and could result in your thread being locked or deleted. Paste that code into the the message reply box and voila! you have clickable thumbnail images.Here's what the three options looks like:
Thumbnail for forums (1)
Hotlink for forums (1)
Direct link to image (wrapped in a forum img tag)
PUT YOUR CODE IN IN ACTIONSCRIPT OR CODE TAGS
Very often we see people post a huge ugly script right into the message. There's a problem with that - tabs and spacing don't show up properly, and there's no syntax highlighting. That makes it difficult to read!
There's some really neat vB code built into the forum that will format and syntax highlight your code when you post it. Method one is to select the text you want to highlight as ActionScript code and then click the highlight button on the toolbar above the message window. It's the yellow marker. In the popup type in "actionscript". The result will look like this:
actionscript Code:
Original
- actionscript Code
// this is some easy to read ActionScript
if(your_code_is_easy_to_read)
{
people_like_it();
}
// this is some easy to read ActionScriptif(your_code_is_easy_to_read) { people_like_it(); }
The other method is to highlight the text as code which is more generic and doesn't have line numbers. To do that select the text to format and press the code button on the toolbar. That's the one with the hash symbol (#). The result will look like this:
Code:
// this is some easy to read ActionScript
if(your_code_is_easy_to_read)
{
people_like_it();
}
Alternatively to using the toolbar you can just type the tags into the message window. To use the actionscript ones you would type:
[highlight=actionscript]
// some code
[/highlight]
To use the generic code version you would type:
[code]
// some code
[/code]
Note: A full list of the supported highlight types can be found here.
TELL US WHAT VERSION YOU ARE USING
The functionality and methods used across the different versions of Adobe software can be greatly varied. Take Flash for example; Flash MX doesn't allow you to dynamically load external FLV files whilst Flash MX 2004 does. That however does not incorporate the On2 codec as Flash 8 does. Another simpler example is that Flash MX uses ActionScript 1 whilst later Flash versions support ActionScript 2 which has slightly different syntax amongst other things.
If you don't tell us the version you're using then anyone willing to help you has to either guess what you're using and possibly waste their time writing and posting code that will not work for you or they have to make a post just to ask what version you're using. It saves time and energy if you just tell us from the start.
To make this even easier there is a drop down list next to the new thread title box. This will let you select a application or language that will be prefixed to the threads title so it will look like this:
[ActionScript 2] Drawing API causing problems
IF YOU GET AN ERROR ON A CERTAIN LINE, TELL US WHAT'S ON THAT LINE AND THE LINES ABOVE AND BELOW IT
It's not too helpful when you mention an error on a certain line but don't tell us what code is on that line. Because errors can sometimes be caused by lines of code above or below the one the error is mentioned on, please post those lines as well.
ONLY YOU KNOW WHAT "DOESN'T WORK" MEANS
Please tell us what your script is supposed to do and why it "doesn't work". Or if you don't feel like explaining what the whole script is, at least tell us what the offending code is supposed to do. When you come in and say "it doesn't work" or just "it has errors", that means nothing. There could be a million things wrong and no one will know where to look.
DONT CALL US, WE'LL CALL YOU
One great point of using the forum is that the questions and answers can be helpful to other users in the future. They might arrive at your thread via a forum search, a search engine or simply by browsing the forum. If you private message your questions to other members then it doesn't help anyone except you which is rather selfish.
Another thing not to do is to post your thread and then PM one or more members asking them to look at your thread. If they can reply and if they want to reply then they will see your thread the next time they visit the forum.
IF YOU ARE NOT GOING TO TAKE ADVICE, DON'T ASK FOR HELP
Often times, people post questions about their script with the wrong mindset from the very beginning. Soon they are receiving replies, and silently debugging their code, making no effort to even acknowledge the people helping them! It becomes one sided, and the poster isn't aware that many of the people helping them hope to learn something as well! Letting people know of your progress and how their suggestions apply (or do not apply) will not only help you figure out your problem quicker, but you'll be returning the favor to those of us who learn more by helping.
In even worse scenarios, sometimes the poster will argue back even when they don't know what they're talking about. Hey - if you know it all, don't ask for help.
When people give you free code that may solve your problem, by all means, try it out! And if it's not what you need, at least thank them.
And if people post code that is over your head, ask them for an explanation. Too many times I see great solutions posted, then the original poster doesn't understand it and goes hunting around the Adobe livedocs and finds some function they think will solve their problem but really has nothing to do with their problem! The solution you are given may not always be something you are totally familiar with, so just ask for a better explanation!
REMEMBER THAT WHEN PEOPLE HELP YOU, THEY ARE DOING YOU A FAVOR
Regardless of how big your ego is, it is not someone else's privilege to debug your code. It is not their privilege to have them help you. It is yours. Remember that when people help you they are doing you a favor. You are not doing them a favor by letting them see your incredible application. Be patient, help people out by posting good descriptions of what you need help with, and not snapping at people with garbage such as "if you aren't going to help don't waste my time replying".
ACKNOWLEDGMENTS
This post is almost a direct copy n paste of JeffCTs PHP post located here. If you want to find out even more information then head over to that thread and check out the extremely helpful user comments. Thanks JeffCT
View Replies !
View Related
[NEW USERS] - You Can't Post Links Until You've Made 5 Posts
As the title says
Until you have been a member at the forums for 30 days and made 30 posts, you will be a restricted user. This means that you will be unable to: Create a signature to appear at the bottom of your posts; Upload an avatar for use in your profile; Change your user title to any custom text. Post in the shoutbox on the forums index. Upload attachments into post.In addition, the first five posts of any users will have URLS and EMAIL ADDRESSES automatically purged from them. This is intended to deter people from signing up with the intent of spamming.
Forum rules and Guidelines - Full list of forum rules and guidelines.
christo
View Replies !
View Related
POST FLASH VARIBLE TO FORM
I need another set of eyes.
Does this scrip look right? I'm getting no errors but no results.
var artist_name2 = _root.artist_name;
this.onEnterFrame=function(){
forindex.text = _root.artist_name;
}
this.submit.onPress = function() {
loadVariablesNum("
View Replies !
View Related
[Flash 8] Post Graphics To Form?
I have a simple graphics drawing app made in flash; just an onMouseDown event that lets the user draw a simple line drawing - nothing extraordinarily fancy. The movie clip it's being drawn on is called "Line" and is dynamically created when the flash app loads.
Is there a way to export the clients drawing to a separate page via a form post? ...Or a component with flash? Ex: Post the clients picture/line drawing to a print page with other details from the previous page.
Any help is appreciated. Thanks!
View Replies !
View Related
Flash Form Data And Post
I've got a problem with Flash posting form data and I'd really appriciate it if someone could help, I've been fighting with it for way too long.
When I attempt to post form data to a page, Flash passes in zero length strings and I don't get what I need-
on(release){
FormData = new LoadVars();
Formdata.FlashTestValue = FlashTestValue
Formdata.send([PageURL], "_self", "POST");
}
If I change the variables to static values it works, but I'm trying to get form data, e.g. if I replace line 4 with:
Formdata.FlashTestValue = "TEST VALUE"
The data gets through. Does anyone have any suggestions?
View Replies !
View Related
How To Post A Variables Into Html Form By Flash
Question:
I'd like to use flash to make 3 flash buttons. Each buttons can send a variable to the specific text field in a html form.
the html form is like this:
<form name="bigsmallForm" method="POST" action="/NASApp/opg/buyBigSmall.do">
<p>
<input type="text" name="ticket.stake" size="5" value="0">
<input type="text" name="ticket.line1.betType"value="" >
<input type="text" name="ticket.line2.betType" value="">
<input type="text" name="ticket.line3.betType" value="">
<input type="text" name="ticket.line4.betType" value="">
<input type="text" name="ticket.line5.betType" value="">
<input type="text" name="ticket.multiple" value="1">
</form>
the value will past to each ticket "value"
Anyone can tell me how can I acheive this?
I think using
on(Release){
getURl(.... something post);
}
I am not sure how.
View Replies !
View Related
Post Php Form-data To New (Flash-containing) Window
I'm currently using the following code to open a new window, and embed a flash-game in it.
form page:
Code:
<script>
function sendme()
{
window.open("","myNewWin","width=400,height=400,toolbar=0");
var a = window.setTimeout("document.form.submit();",500);
}
</script>
<FORM name='form' method='post' action="http://www.myurl.com/flash/my_game.php" target="myNewWin">
<INPUT type="button" value="Play Game!" onClick='sendme();'>
</FORM>
my_game.php:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>My Game!!!</title>
</head>
<body bgcolor="#ffffff" style="margin: 0px;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="400" id="My_Game" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="my_game.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="my_game.swf" quality="high" bgcolor="#ffffff" width="400" height="400" name="My_Game" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
Highscores etc are loaded from an external php-file. The problem is, that I have a php variable on the form-page (if the visitor is logged in or not), and that I need to send it to the swf while submitting the form.
Can this be done?
I'm guessing I need to include [print("&player_logged=$logged");] somewhere, but putting it in my_game.php either doesn't work, or stores the entire html-code inside the flash variable.
For the record, other MySQL-based data is loaded like this (through a simple select on select.php):
Code:
myData = new LoadVars();
myData.onLoad = function(){
highscores();//call the function
};
myData.load("select.php");
highscores = function(){
hc_name0.text = myData.player_name0;
hc_score0.text = myData.player_score0;
hc_name1.text = myData.player_name1;
hc_score1.text = myData.player_score1;
hc_name2.text = myData.player_name2;
hc_score2.text = myData.player_score2;
hc_name3.text = myData.player_name3;
hc_score3.text = myData.player_score3;
hc_name4.text = myData.player_name4;
hc_score4.text = myData.player_score4;
hc_name5.text = myData.player_name5;
hc_score5.text = myData.player_score5;
hc_name6.text = myData.player_name6;
hc_score6.text = myData.player_score6;
hc_name7.text = myData.player_name7;
hc_score7.text = myData.player_score7;
hc_name8.text = myData.player_name8;
hc_score8.text = myData.player_score8;
hc_name9.text = myData.player_name9;
hc_score9.text = myData.player_score9;
myscore.text = _root.score; //Your score
};
View Replies !
View Related
Recording Users Choices-not A Form?
This is my first posting on this (any flash related) forum - so please bear with me if my ineptness infuriates u
My problem:
I am designing a site in flash where users can edit an object once they have edited the clip i need to be able to receive an email telling me what they 'saw' on the screen - and also as they move from frame-frame within the movie the variables they selected to be shown.
here is how it should work for the user:
The object which they can customise is to be striped - the user is first asked to decide if they want it vertically or horizontally striped.
then they are asked to choose the colour of stripe 1, and hit 'next' to choose stripe two, the menu here is different coloured buttons - as they roll over the buttons the colour of stripe one changes ( colour or tint) when they hit 'next' the colour of stripe one should be recorded (thinkin of usin arrays)
this takes them to the next frame - where their selection of colour for stripe one is still visible ( i.e. frame two needs to know what the user selected in frame 1 - and fill stripe 1 accordingly) - then the user is prompted to select the colour of stripe two - the same happens as above
then they arrive on frame 3 with their choice of colour for stripe 1 an 2 displayed and the prompt for them to choose the colour of stripe three.
once they have modified the object and are happy with it they can click the 'submit' button i need to receive an email from the flash movie telling me the choices (radio buttons) that they selected - i.e. stripe 0=choice6, stripe, stripe 1 = choice2, stripe 2 = choice 8
where choices = equal colours.
so far i have concluded that the best way to tackle this problem would be with radio buttons and arrays (an array for each stripe?) however i am uncertain of how to get one frame to display the choice the user placed into the array in the first frame - the colour of thes clips is being changed with actionscript rather than hundreds of different possible combimations of differeing coloured symbols.
i realise that this is a long post - but wanted to make sure i explained the problem fully - thank you for your time - and look forward to your replies.
View Replies !
View Related
Can I Use This Form Post Tag?
i need to use a Perl script to submit meail. This is what is being used in an html page submit button for the same script that i am using with my flash movie's button:
<form action="fmailer.pl" method="POST">
<input type=hidden name="recipient" value="info@domain.com">
Can i use this in Flash?
(i have asp form mail, but unfortunately for this particular situation have no other choice)
View Replies !
View Related
Form To Post Asp
Please Help!
I am trying to create a form in flash for people to subscribe to my emaillist. I got someone to create an .asp for me, I just have to implement the actionscripts on the button in flash to have it talk to it. Nothing is working (but i did get dynamic text to work). I don't know what I am doing (or doing wrong) can somebody help?! I'm using Flash 5.
I've created an "editable text" and variable and a button: I just think I might have the script wrong.
I've tried the Get Url (POST):
on (release) {
getURL ("http://66.242.133.142/jcb/addemail.asp ", "Email", "POST");
}
orLoadVariable:
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
Message = "Please enter a valid E-mail address";
} else {
loadVariablesNum ("http://66.242.133.142/jcb/addemail.asp", "Email", "POST");
Message = "Thank you for subscribing!";
}
}
Can you see what I am doing wrong?
The text form variable is "Email"
can anyone help?!
please.....
View Replies !
View Related
Post Form To Asp
I`m just trying to send 3 form values to an asp page that I then have a redirect to another page.
On the submit button I have the code
on (press) {
loadVariablesNum("stepone.asp", 0, "GET");
}
and within flash it appears to send the values as it says it cant find the page stepone.asp?txttobacco=0&txtcigarettes=0&level=0
However when I upload to my server, and click the button it dosnt do anything!
Help!
View Replies !
View Related
Post Form From Swf?
Hi,
This is a tall order but ill ask anyway
Can I use this in flash, i need to add one of these code generated pay pal buttons in my swf.
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="teddyrichards@hotmail.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="The Longest Mile (9-song cd single)">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="shipping" value="3.50">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but9.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" align="middle">
</form>
thanks
View Replies !
View Related
Form Post
Please help how can i make it so that this form gets emailed to me when people have filled it in my email address is: forummakerpro@hotmail.co.uk
PHP Code:
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Main Information</title>
<style>
<!--
td { font-family: Verdana, Arial, Helvetica, sans-serif }
.bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; }
.forumline { background-color: #FFFFFF; border: 2px #006699 solid; }
td.row1 { background-color: #EFEFEF; }
.postbody { font-size : 12px; line-height: 18px}
-->
</style>
</head>
<body>
<form method="POST" name="Forum Registration" action="%20%20%3C!--webbot%20bot="SaveResults" u-file="N:Shaun Hoare.htm" s-format="HTML/BR" s-label-fields="TRUE" b-reverse-chronology="FALSE" s-email-format="TEXT/PRE" s-email-address="forummakerpro@hotmail.co.uk" b-email-label-fields="TRUE" b-email-subject-from-field="TRUE" s-email-subject="Forum registration" s-builtin-fields --> <p align="center">
<b>Main Information</b></p>
<p align="center">Username: <input type="text" name="T1" size="20"></p>
<p align="center">Password: <input type="text" name="T2" size="20"></p>
<p align="center">Password (verify): <input type="text" name="T3" size="20"></p>
<p align="center">Email address: <input type="text" name="T4" size="20"></p>
<p align="center">Email address (verify):
<input type="text" name="T5" size="20"></p>
<p align="center"><b>Forum Information</b></p>
<p align="center">What Forum offer would you like: <select size="1" name="D1">
<option selected>Free</option>
<option>member £10</option>
<option>professional £50</option>
</select></p>
<p align="center"><b>Additional Information</b></p>
<p align="center">Name: <input type="text" name="T6" size="20"></p>
<p align="center">Date Of Birth: <input type="text" name="T7" size="20"></p>
<p align="center"><span class="postbody">What would you like your url to be
(only for members and profesionals):
<a href="http://[/b]" target="_blank" style="color: #006699">[url]http://[/url]</a></span></p>
<p align="center"><input type="submit" value="Submit" name="B1"></p>
</form>
</body>
</html>
View Replies !
View Related
Post Form Via ASP
whats wrong with this AS - it dosen't work! The ASP file it refers to is okay... it posts an email when combined with an html-form...???
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") ==
-1) {
EmailStatus = "Indtast din e-mail adresse";
} else if (!quest1.length) {
EmailStatus = "Svar på spørgsmål 1";
} else if (!quest2.length) {
EmailStatus = "Svar på spørgsmål 2";
} else if (!Navn.length) {
EmailStatus = "Indtast dit navn";
} else if (!Adresse.length) {
EmailStatus = "Indtast din adresse";
} else if (!By.length) {
EmailStatus = "Indtast dit postnr. og by";
} else if (!Telefon.length) {
EmailStatus = "Indtast dit telefonnr.";
} else {
loadVariablesNum("ASPMail.asp", "0", "POST");
EmailStatus = "Tak for dit svar...";
gotoAndPlay("sendt");
}
}
I would be very thankful if anyone could help me with this...
simondo
View Replies !
View Related
Post Form And Go To Url Help Please
Code:
function sendData():void {
var request:URLRequest = new URLRequest( "http://www.myurl.com" );
var variables:URLVariables = new URLVariables();
variables.first_nam = nameBox.text;
variables.mail = emailBox.text;
variables.tracking_tag ="sandsurfvillas";
variables.id='32';
request.data = variables;
request.method = URLRequestMethod.POST;
//navigateToURL (request, "_self");
sendToURL(request);
var variables:URLVariables = new URLVariables();
}
I've tried the navigatetoURL with the sendToURL, but it just sends me to the page no variables sent, and with out the variables the page will not redirect to the next page properly. PLEASE ANYONE HELP!
View Replies !
View Related
Post Form Via ASP
whats wrong with this AS - it dosen't work! The ASP file it refers to is okay... it posts an email when combined with an html-form...???
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") ==
-1) {
EmailStatus = "Indtast din e-mail adresse";
} else if (!quest1.length) {
EmailStatus = "Svar på spørgsmål 1";
} else if (!quest2.length) {
EmailStatus = "Svar på spørgsmål 2";
} else if (!Navn.length) {
EmailStatus = "Indtast dit navn";
} else if (!Adresse.length) {
EmailStatus = "Indtast din adresse";
} else if (!By.length) {
EmailStatus = "Indtast dit postnr. og by";
} else if (!Telefon.length) {
EmailStatus = "Indtast dit telefonnr.";
} else {
loadVariablesNum("ASPMail.asp", "0", "POST");
EmailStatus = "Tak for dit svar...";
gotoAndPlay("sendt");
}
}
I would be very thankful if anyone could help me with this...
simondo
View Replies !
View Related
Post Comments Form
I am a beginner Flash Developer and Im working on my first site. I was wondering if anyone knows where I can find a really cool Post Your Comments Form. I would like to add this element to my website so visitors will be able to post comments either to my email account or directly on the site.
Thanks for all your help,
Toro04
View Replies !
View Related
Additions To The New Post Form - PLEASE USE IT -
Our Flashkit tech guy, JPnyc has been kind enough to give us a new tool in the "New Post" form page that will make everyones life easier. So let's all please use it. What it is, is a series of Radio buttons above the Title entry box for the new post that automatically adds the version of Flash you are using and asking questions about, when you check one of them. And it will show in the main forum listings, in the title of your new thread. Everyone can tell at a glance what version your question pertains to. As you can imagine, this will save a lot of trouble as we go along. So let's all please use this great new feature.
View Replies !
View Related
Additions To The New Post Form - PLEASE USE IT -
Our Flashkit tech guy, JPnyc has been kind enough to give us a new tool in the "New Post" form page that will make everyones life easier. So let's all please use it. What it is, is a series of Radio buttons above the Title entry box for the new post that automatically adds the version of Flash you are using and asking questions about, when you check one of them. And it will show in the main forum listings, in the title of your new thread. Everyone can tell at a glance what version your question pertains to. As you can imagine, this will save a lot of trouble as we go along. So let's all please use this great new feature.
View Replies !
View Related
[F8] I'm Having Problems With A Post Form... PLEASE HELP
Hey everybody,
I'm using a post methd form that I have setup in my flash movie with macromedia Flash 8. The form does work, but there are two things I need help with.
1.) I have all the form objects on one layer, and it's kicking out the info to the email script, perfectly, except for two sets of radio buttons!
The two sets of radio buttons, one called "session" and the other called "verification" and in the email they are listed as such:
session : [object Object]
verification : [object Object]
I need for them to report the selected raido button value instead.
2.) As you will see in the action scripting, I have the form setup to check for required entries, proper email syntax also. If the surfer tries to submit the form incomplete, I have a text box at the bottom Named "EmailStatus" that will tell the surfer to add the required data.
Once the form has been sufficiently filled out, and the email is sent, I want the "EmailStatus" info removed from the data.
Here is the action script:
... attached to submit button:
-----
on (release) {
if (!name.length) {
EmailStatus = "Please enter your NAME before Sending";
}
else if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
}
else if (!company.length) {
EmailStatus = "Please enter your COMPANY before Sending";
}
else if (!occupation.length) {
EmailStatus = "Please enter your OCCUPATION before Sending";
}
else if (!worknumber.length) {
EmailStatus = "Please enter your WORK NUMBER before Sending";
}
else if (!cellnumber.length) {
EmailStatus = "Please enter your CELL NUMBER before Sending";
}
else if (!city.length) {
EmailStatus = "Please enter your CITY before Sending";
}
else if (!state.length) {
EmailStatus = "Please enter your STATE before Sending";
}
else if (!comments.length) {
EmailStatus = "Please enter a COMMENT or a MESSAGE";
}
else {
loadVariablesNum ("action.php", "0", "Post");
_root.vframe = "gallery";
_root.play();
}
}
-----
... attached to reset button:
on (release) {
name = "";
email = "";
company = "";
occupation = "";
worknumber = "";
cellnumber = "";
city = "";
state = "";
comments = "";
EmailStatus = "";
}
-----
... each of the radio buttons has data (which is what that button should be when selected, I think) and all the buttons from each of the two sets has one or the other groupName of "session" or "verification.
I am sure one of the pros here at FlashKit can tell me what I am doing wrong with the radio buttons, and also how i can get the completed form to drop the "EmailStatus" when the form is succesfully submitted.
Thanks,
~Slim~
View Replies !
View Related
Form Won't Post To Php Script
I've created a contact form called contact.swf. This gets loaded into another file called host.swf. I'm trying to send the data from the form fields in contact.swf to a php script that runs on a different domain (and I have no control over this php script). Everything works fine when I run the files locally, but nothing happens when I post the files to the target server.
Here's what I'm using to send:
feedbackpath = "http://www.urlWithThePhpScript.com";
loadVariablesNum(feedbackpath+"?first_name="+first _name+"&last_name="+last_name+"&phone="+phone+"&em ail="+email, 0, "POST");
I also tried changing "loadVariablesNum" to "getURL" - that actually worked (so I know the data is making its way out of the movies), but popped-up a new window which is not ok.
I've really been racking my brain on this one for days. Please help!!
View Replies !
View Related
Form 'POST' Issues
Hey all - got a little issue with sending data from Form to a URL..
The URL as it stands to me looks like a 'GET' ? Can anyone shed some light on how I can get these fields to submit to this URL?
eg..
submitBtn.onRelease = function() {
myLoadVars = new LoadVars();
myRecVars = new LoadVars();
myLoadVars.last_name = last_name.text;
myLoadVars.first_name = first_name.text;
myLoadVars.mobile_phone = mobile_phone.text;
myLoadVars.email_address = email_address.text;
myLoadVars.ResidentialArea = ResidentialArea.text;
myLoadVars.sendAndLoad("http://oi.vresp.com?fid=cff35b0b30", myRecVars, "POST");
myRecVars.onLoad = function() {
this.gotoandStop(2);
};
};
stop();
View Replies !
View Related
Post Form And Variables To Php, Asp Or Cgi
I am trying to post to asp, php and cgi server's pages, but for some reason my actionscript only posts the form's values ignoring the hidden and manually declared variables.
form is at http://www.abogado.co.cr/test/form.fla
actionscript not working:
Code:
on (release) {
var doit:String = "done";
var intl:Number = 1;
var tt:String = "urltext";
getURL("http://www.codeave.com/html/post.asp", "_blank", "POST");
}
later down will need to add also a combobox within the form.. does someone knows how to post the selected option to the web server page from my movie?
View Replies !
View Related
ClickTAG With Form POST
Hi,
I'm stuck...
I've created a flash banner that on rollover changes to a form and onrelease posts the variables - this works fine
My confusion is when I need to include the clickTAG script for adwords tracking.
The code I've used is simple and is the following:
Code:
on (release) {
getURL("(URL address blocked: See forum rules)", "_parent", "POST");
}
----
and the code I need to add for the clickTag is:
Code:
on (release) {
if (clickTAG.substr(0,5) == "https:") {
getURL(clickTAG, "_blank");
}
}
---
If I have both on codes one after the other will google track correctly? Is there another way that I can pass the variables to the URL that is defined in adwords via the clickTAG?
Cheers
Si
View Replies !
View Related
Form Post Data, Downloading MP3's
Flash MX-
I ham trying to accomplish an upload status
bar for the uploading of large MP3 files using a html form and PHP. Unfortunately, with PHP, I
can't get the content length of the form post until after the upload
attempt begins. Getting the content length of the form post (including
the file size) would alleviate this problem.
I was thinking that since
Flash is already embedded in the browser, it would have access to this
file system information.
Does anyone know if this is possible with Flash and how I would do it.
Thanks,
Dave
View Replies !
View Related
Submitting A Form Using A POST W/ NO Email Spawn
What am I missing to get this action to submit a form to the email below with out spawning an email client?
Thoughts? Examples?
Comment
actions for Comment
on (release) {
url1 = "firstname=" + firstname + "&Lastname=" + lastname +"&email=" + email + "&comments=" + comments;
url = escape(url1);
getURL ("mailto:someone@templatekit.com?body="+url, "", "POST");
tellTarget ("_root") {
gotoAndPlay ("confirm");
}
}
View Replies !
View Related
[F8] Flash 8 - Email Form: How To Get Users Specified Email In From Portion Of Email
Hey guys,
I want to add a newsletter to my new website that people can add their email addresses to. First off, I would like to have a field that the user can type his email address in, and have that field check if the email is valid (ie make sure that there is an @something.something).
Next, I would like it to send an email to my email address, with their email address in the from portion of the email (basically as if they have emailed me directly from their email). This way, it will be very easy for me to add them to my mailing list.
Thanks a ton for any help... Ive been searching for a while on how to do this, but couldn't find a way to put the users email in the from portion of the email.
View Replies !
View Related
POST Variables - Contact Form With Radio Buttons
Greetings,
I found this same querry in an archived post but the solution was not provided so I will make my own post.
I have a basic contact form. It contains the standard name, email, subject, and comments boxes. When you click submit it POST variables to a PHP form and then forwards info to email address with the PHP form. Pretty basic stuff.
Now heres my problem. I have been asked to include selections within the contact form. I have determined that the use of labled radio buttons will do the job. Each button will have its own label and the user can simply check which button he likes and then fill out the rest of the form and hit submit.
Forever Indebted,
View Replies !
View Related
LoadVariables Doesnt Post To Script For Contact Form
Using php to send mail from contact form in my flash site.
Im having no luck with it at all...
I cant get flash to even send data to the php file... it doesnt even try to access it.
Plus it egnores my if statements to check fields arnt empty :/
I have 3 dynamic fields, with vars' set as:
f_name
f_email
f_message
In the action of my "send" button has the following script:
Code:
on (release) {
trace("released");
if((f_name != '') && (f_email != '') && (f_message != ''))
{
loadVariables("sendmail.php",0,"POST");
trace("sentvars");
if(output=="sent")
{
trace("ok");
errTitle = 'Thank You.';
errType = "Your message has been succesfully sent.";
} else {
trace("err2");
errTitle = "Error!";
errType = "Sorry an error occured. Please try again later.";
}
_root.gotoAndStop(92);
}
else
{
trace("err1");
errTitle = "Error!";
errType = "Please complete all the fields.";
_root.gotoAndStop(92);
}
}
iv tested my php by posting values to it manually... it works fine.
iv added traces as you can see.
It always gets to "err2" the timeline moves on to 92 and i get the error displayed.
Its almost as if its totally egnoring line:
loadVariables("sendmail.php",0,"POST");
im pretty new to actionscript stuff...
im using MX2004
Any ideas anyone?
Cheers
View Replies !
View Related
(filled) Auto Resize Flash
I'm creating a menu for flash... and I want that menu to automatically resize with the size of the browser while still keeping the height to width ratio...
will I have to use action script? or use html coding of some sort?
thanks
consider this closed!
View Replies !
View Related
Letter Of My Pixel Font Are Filled In When I Put In Flash
Hiya all
can anyone help me with this problem? I've created a pixel font using Fontographer but when I put it into flash it fills in any contained blank sections of a character (i.e. the hole in the letter 'o' is filled in as are the holes in letters such as a, e, p, b, d etc. any letter with a 'hole' in it). I know that this is a known bug with Flash but is there anything I can do to get around it?
Thanks
View Replies !
View Related
Checking Filled Out Fields In Flash Forms
Help me!
Here is the code, I want it to check if you have filled out all fields if you have then go to and play this movie clip.
the code is not sending out to php
I really need some help here thanks
ActionScript Code:
stop();
formFlag = false;
if (lastName.text == "" || firstName.text == "" || number.text == "") {
formFlag = true;
}
if (formFlag == false) {
_root.gotoAndStop("form");
} else {
function doSubmit():Void {
//userData = new LoadVars();
_root.name_mc.gotoAndPlay(2);
userData.lastName = lastName.text;
userData.firstName = firstName.text;
userData.zipcode = zipcode.text;
userData.sendAndLoad("http://rgao.netbility.net/register.php?ck="+new Date().getTime(), myFeedback, "POST");
}
var userData:LoadVars = new LoadVars();
var myFeedback:LoadVars = new LoadVars();
myFeedback.onLoad = function() {
if (this.feedback == "OK") {
feedBack_txt.text = this.msg;
} else {
feedBack_txt.text = this.msg;
}
};
}
submit_btn.onRelease = doSubmit;
View Replies !
View Related
Create PDF Pre-filled With User Entered Data From Flash?
Hi,
I am working on a Flash 8 cd-rom based presentation that has a form in it. After the viewer enters their information into the form fields my client is requesting that they be able to print a document with the information that was entered filled into the right fields.
They have been talking about this printable document being a pdf. Is it possible to dynamically fill in info from flash to a pdf? And will this work from a cd-rom?
I have found a component named blazePDF which seems to be able to do this, but I wonder is there is a better component/way to accomplish this?
Is there a better way, like using flashpaper? I don't have any experience with Flashpaper, the one time I tried it, the results looked terrible. The client wants this to print sharp.
Any help or advice is much appreciated.
Thanks,
oohah
View Replies !
View Related
License.Limit.Exceeded With 4x150 Users Licence And Only 300 Real Users
We have 4x150 users licence, set to unlimited bandwith.
We get these messages in event viewer:
Connection rejected by server. Reason : [ License.Limit.Exceeded ] : (_defaultRoot_, _defaultVHost_) : Max connections allowed exceeds license limit. Rejecting connection to : our_app_name/.
It appends a lot since the last few days, even before last update 2.0.3
At the same time, when we check the administration console, the number in the _defaultVhost is much lowe than 600, the maximum number of user that is allowed.
Licences are all OK in the administration console.
We have to restart the Flash server service to correct the problem.
Please help...
View Replies !
View Related
Need Mac-users & Alternative Browser Users To Test A Web Page...
Hello,
I am working on a site that uses a simple flash navigation (at the client's request) and I'd appreciate it if I could get some feedback from Mac users as well as PC users with alternative browsers (non-IE).
Specifically what I'm looking for is whether the flash works correctly and sits in the correct place (as opposed to appearing someplace it shouldn't) .You should also hear a subtle clinking sound when mousing over one of the main navigation links.
Here's what it should look like (note that the navigation should line up exactly with the horizontal lines in the background):
http://www.metapanda.com/colorimpact...mpact_demo.jpg (please excuse the poor quality of the jpeg... keeping loading time in mind here)
And here's the link to the actual page: http://www.metapanda.com/colorimpact/
Please note: links currently lead to 404 pages... this is not an error, the site just isn't finished yet
Thanks everyone!
View Replies !
View Related
"POST" Not Working Correctly With Form
I've looked through all kinds of Flash tutorials on-line but none really answered what probably is an easy fix for this form that I'm making for users to join an email list. I've been trying to do a quick translation from an html form to a flash form but it doesn't seem to be working...It submits fine but I don't think the correct info is getting to the website where I set up an email list. It works perfectly with the html form (code pasted below), now I just have to get it running with flash.
My .fla file is attached
(the .swf as it is now is here: http://filebox.vt.edu/users/jirwin/bombit/mail.swf)
the form html that I used for my html page is here:
<!-- Start Bravenet.com Service Code -->
<form action="http://pub12.bravenet.com/elist/add.php" method="post" style="margin:0px;">
Name (First and Last):<br>
<input type="text" name="ename" size="25" maxlength="60" /><br>
Email:<br><input type="text" name="emailaddress" size="25" maxlength="100" />
<input type="radio" name="action" value="join" checked style="border: 0px;"/>Subscribe <br>
<input type="hidden" name="usernum" style="border: 0px solid black; height: 0px; width: 0px;" value="950300127" /><input type="hidden" name="cpv" style="border: 0px solid black; height: 0px; width: 0px;" value="1" />
<br><input type="submit" name="submit" value="JOIN" />
</form>
It's that value number of "950300127" that I don't think is going through but hopefully someone can enlighten me.
View Replies !
View Related
Form Will Not "POST"
I have written a form which authenticates against an ldap server. It uses a cgi script on the server to accept a "post". ( I actually use a sendAndLoad, but for debugging I fell back to a send)
I'm using Flash MX 2004, actionscript 2.0. The form works great EVERYWHERE but on my production server. For some reason it will not send any data from that server.
Where the URL from anywhere else is:
http://www.mydomain.com/ldapauth.cgi...sswd&User=user
From only this server it's:
http://www.mydomain.com/ldapauth.cgi
Anybody have any ideas why this particular server will not allow the flash form to post anything? (I tried GET too, with no luck)
If I create the form in html, it works fine.
Anybody run into this before? Help!!
Ken
View Replies !
View Related
Why Do Fonts Have O's And E's Filled In ?
I have a script font I want to use..but the letter "o" is filled in w/ black.. and the loop in the "y" is also filled in. This only happens if I embed the font, which I have to do if I want other machines to see the font properly. Why does this happen and how can I fix it?
Thanks
View Replies !
View Related
Filled In Text?
Whenever I make an DPOBRQ or other letter with a hollow space it fills it in, even though it doesnt do it to normal windows fonts, it does it to some of my pixel fonts . When I edit it isnt like this, whats up?
Again, when I edit it looks normal, when I ctrl+enter to view it fills in the holes.
View Replies !
View Related
Filled In Letter A
Hello,
I'm a newbie but I've been at this for an hour on my stage the letters "a" are not filled in but when I test my movie or export it the "a" is always filled in. I don't know why. there are two a's both are part of a movie symbol.
thanks....
View Replies !
View Related
|