News:

If you need instructions on how to get through the hotels, check out the enclosed instruction book.

Main Menu

Using PHP with AS2.

Farted by INoodleClock, January 13, 2011, 09:54:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

INoodleClock

I made a basic script for a contact form, which sends the fields to a stated email address. The only Actionscript is:

on (release) {
form.loadVariables("locationofphp.php", "POST");
}


The problem I'm having is this script works fine on multiple different email types (tested on Yahoo, Hotmail, Mail and Outlook) when the whole .swf is only one frame. However when this is placed onto something with more (I'm doing a small site, due to transitions, preloader etc. this contact form sits on frame 16) frames, the script stops working.

Does anyone know why this might be and is there a simple way to get around this? Putting it into a separate .swf isn't really an option due to the transitions and navigation. Thanks in advance for any help. :)

SpongeClock SquarePants

are the variables within the form avalaible when it is submitted?
You could also not only trace some vars in flash but log them with php, then you can see what locationofphp.php receives.

SpongeClock SquarePants

and did you figure it out?