Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / March 2006



Tip: Looking for answers? Try searching our database.

PHP/Flash Email, NOT A COMMENT FORM

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
THE DVH - 20 Mar 2006 05:03 GMT
http://www.derekvanhorne.com/phptest/clothing.html

This is an extremely simple version of what I will be creating in Flash, where
users will cycle through clothing options and then click "Submit" to submit
their choices. Then, in theory, an email will be sent, via PHP, to me with the
Shirt, Pants, and Shoes selections. For example the email would read: "Shirt:
Green Pants: Black Shoes: Blue"
Right now the text for the Shirt, Pants, and Shoes are all Labels from the
Components and I've then applied the following ActionScript to get them to
change (this is on each frame of the 3 movieclips that contain the Shirt,
Pants, and Shoes, as well as the left and right buttons, and the Label)

stop();

var pants:String;
pants = myPants_txt.text;
myPants_txt.text = "blue";

pantsleft_mc.onRelease = function(){
gotoAndStop("3");
}

pantsright_mc.onRelease = function(){
gotoAndStop("2");
}

From there can anyone give me an idea of how I might start to pull that
content out of Flash and into an email using PHP, when the user clicks the
"SUBMIT" button (right now it's just going to the frame "end" on release)

Any help at all would be great, I've been killing myself with this for an
entire weekend, and I'm getting nowhere.
Thanks
san_sasuke - 20 Mar 2006 12:56 GMT
Look in the helpfile for the LoadVars class...

Example in the help file:

var my_lv:LoadVars = new LoadVars();
my_lv.playerName = playerName_txt.text;
my_lv.playerScore = playerScore_txt.text;
my_lv.send("setscore.cfm", "_blank", "POST");

Peace.

sasuke
gravideo - 31 Mar 2006 17:23 GMT
try www.gotoandlearn.com
There is an excellent video tutorial on Flash and PHP
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.