PDA

View Full Version : text color from PHP



syphon101
June 29th, 2003, 02:47 PM
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 :( Anyone know how i can do this?

Jubba
June 29th, 2003, 02:53 PM
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

syphon101
June 29th, 2003, 03:08 PM
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.