Color from database not working...
Color stored in mySQL as 0xFF0000
0xFF0000 hauled into Flash via PHP and LoadVars
trace(myData.maintxtcolor); shows 0xFF0000
Trying to change text color:
etcetera...
REFUSES TO CHANGE COLOR.
Now, I know that the following works
So the question is:
Why won't 0xFF0000 when hauled in from the database work?
Thank you.
Color stored in mySQL as 0xFF0000
0xFF0000 hauled into Flash via PHP and LoadVars
trace(myData.maintxtcolor); shows 0xFF0000
Trying to change text color:
Code:
myFormat_fmt= new TextFormat();
myFormat_fmt.color = myData.maintxtcolor;
REFUSES TO CHANGE COLOR.
Now, I know that the following works
Code:
myFormat_fmt= new TextFormat();
myFormat_fmt.color = 0xFF0000;
So the question is:
Why won't 0xFF0000 when hauled in from the database work?
Thank you.