|
-
Getting PHP to pass commands to AS...
My website has a PHP script that sends an email. I am using Koolmoves 5.2.5 to design the site.
The email PHP script works fine thanks to a couple of guys from Flashkit, and a friend or two around the world that helped me out! Thanks guys!
However, I want to take the script a step further. When PHP has finished sending the email using the mail function, I want it to pass a command back to ActionScript to tell it to play a success/failure movie.
I know that the PHP mail function returns true/false, indicating the success of the function. Also, in a tutorial written by Jeffrey F. Hill, the print language construct was used to pass the result back to AS in the following fashion:
Code:
Print "_root.Mail.EmailStatus=Complete - Your mail has been sent";
Is it possible to get Print to do something like:
Code:
Print "_root.mcEmail.gotoAndPlay("emailSent")"
I know I'm taking a big chance here, so I wouldn't be surprised if this won't work. If so, can anyone tell me the best way to get the confirmation video playing.
Thanks all!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|