Posts Tagged ‘Actionscript’

PHP – Forum Tutorial 1 // Setting up everything

Hey this is the first tutorial of my new series “How to build a Forum” Enjoy. Source Files can be found here www.mediafire.com

Two way Flash + PHP communication – Adobe Flash Tutorial AS3

www.developphp.com This tutorial file demonstrates two way flash actionscript + PHP communication. Send variables to php, process in PHP, send the data to display back in flash.

Flash PHP MySQL Tutorial: Data Feed Loop Result HTML Rendering

Source Files – www.developphp.com Learn how to code like the masters and think more dynamically using Flash AS3, PHP, and MySQL auto Data feeds.

[HQ] Flash AS3 Form Components Tutorial – PHP File and Flash CS3 Source

Free Source files – www.developphp.com And my video is all you need homie!

FlashVars & PHP Tutorial – Multiple Variables into Flash AS3

Download Source – www.developphp.com In this tutorial you can learn how to Use FlashVars and PHP to send multiple dynamic variables into flash AS3. I show how to use the page that Flash renders to set up FlashVars in and send them into flash.

Actionscript Help…making Flash Email Form!!

Prefer an expert in Flash actionscript!!!
-ITS LENGTHY BUT ONLY CUZ I POSTED SCRIPTS!!
I am working on an email form on Flash and I got most of it done. However theres a small mistake that I cant seem to find.
*Heres my actionscript (please check the “if” part since the problem is there):
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.Name = Name.text;
senderLoad.Email = Email.text;
senderLoad.Phone = Phone.text;
senderLoad.Message = Message.text;
senderLoad.sendAndLoad
(“http://mainlinejerky.com/index/
mainlinemail.php”,receiveLoad);
}
receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop(“success”);
}
else {
_root.gotoAndStop(“failed”);
}
}
*heres my PHP:

MY problem is that even when the fields are empty, one can still submit the form without playing my “failed” message.
What do I need to do? What can I add to play my “failed” message when a field is empty?
Thanks in advanced! Hope the info provided is helpful!