Text color from PHP

I have a simple flash mail form that’s processed in PHP. I have a statusEmail textbox that displays error messages in red sent from the php if they didn’t enter certain information. When the e-mail is sent, I want to be able to change the text box color from red to blue and display the success text. So, how can I change the color of a textbox in flash from php?

Here’s my code:
print “_root.emailStatus.textColor=0x0000FF”;
print “_root.emailStatus=Complete - Thank you, $name!”;

but it doesn’t work :frowning: Anyone know how i can do this?

my last post in this thread shows you how to send variables back into Flash from a PHP file: http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604

I’m sending it back to Flash the same way you teach, but it isn’t working. I can get the text box to display text correctly, but it’s just a matter of changing the color of the text from php is what’s not working.