OZONE Asylum
Forums
Multimedia/Animation
Flash mail form
This page's ID:
30998
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I have difficulty to make a script for a flash mailer form php using flash 6 (mx 2001) action script 1. I then checked 2 templates and both where unsucessful ( test movie still on flash 6 mx 2001) Anybody with same ISSUE? What you suggest instead. one of the example - placed on keyframe/loadVariables: Fla: var senderLoad:LoadVars = new LoadVars(); var receiveLoad:LoadVars = new LoadVars(); sender.onRelease = function() { senderLoad.name = name.text senderLoad.email = email.text senderLoad.message = message.text senderLoad.sendAndLoad("http://www.mySite/email.php",receiveLoad); } receiveLoad.onLoad = function() { if(this.sentOk) { _root.gotoAndStop (6); } else { _root.gotoAndStop (7); } } //however, movie istances and names are set properly. PHP: <?php $sendTo = "me@mysite"; $subject = " flash mail"; // 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. $headers = "From: " . $_POST["name"]; $headers .= "<" . $_POST["email"] . ">\r\n"; $headers .= "Reply-To: " . $_POST["email"] . "\r\n"; $headers .= "Return-Path: " . $_POST["email"]; $message = $_POST["message"]; ?> To make it short, Any templates that work cross platform out there? Thanks! :) [small](Edited by [url=http://www.ozoneasylum.com/user/2081]nobodywebsite[/url] on 05-11-2009 01:00)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »