-
Returning a print message from PHP
Ok I have written a PHP script to insert an email address in to a database, the interaction is working fine my problem is returning a message from PHP to the flash interface.
I have a movie clip named mailingbox sat in the root of the movie, within the mailingbox movie clip there is a dynamic text box named emailresponse.
The code I am using in the PHP script is this:
Print "_root.mailingbox.emailresponse = Your email address has been succesfully added.";
To be honest I am still getting to grips with Flash 5, and so am not sure if I am referencing the dynamic text field correctly.
Any help would be greatly appreciated.
-
Senior Member
Try removing the spaces around the = sign
echo '_root.mailingbox.emailresponse = Your email address has been succesfully added.';
becomes
echo '_root.mailingbox.emailresponse=Your email address has been succesfully added.';
assumuing the clip has the correct instance name and the dynamic textbox the right variable name, that should work
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
|