Why dont you just “echo “Mail Sent”;” back to flash using a dynamic textfield to display the status variable, as in
echo “&status=Mail Sent”; // or not sent…
Would you care to explain in a little more detail, i.e. what format would flash accept the variable in, how would I define the location of the php variable in flash.
“echo “&status=Mail Sent”;”
will sent the status variable back to flash,
so in flash you’ll get (on the same timeline you called the php)
a variable “status” containing “Mail sent”.
All you need then is a dynamic textfield,
textfield.text=status;
maybe send the mailer clip to a loading frame on submitting,
and on data, to another frame to display the result (status).
all variables on the same timeline you call a script from are sent to php, php will set up a variable $flashvariable with the same name for each; one thing to note is, flash is not case-sensitive with var names, php IS!
when you echo like above, flash gets the var & the content,
you could also do