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
Posts Tagged ‘Actionscript’
Two way Flash + PHP communication – Adobe Flash Tutorial AS3
October 30th, 2009
phpmoz 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
October 29th, 2009
phpmoz 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.
FlashVars & PHP Tutorial – Multiple Variables into Flash AS3
September 28th, 2009
phpmoz 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!!
September 10th, 2009
phpmoz 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!

Posted in
Tags:

