I am somewhat new to Actionscipt and I need a bit of help. I have created a dynamic text box that is being fed from an xml file. Depending on the data (whether positive or negative), I would like the output text to either be green or red (green for positive, red for negative). I’m sure that has to be a condition statement written and applied to the object, but I do not know how to do. Can someone advise or write the script lines in Actionscript that can achieve this? Any help with this would be greatly appreciated.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Question about how to change color of dynamic text | 0 | 107 | February 8, 2010 | |
Dynamic Text Question
|
0 | 72 | April 14, 2010 | |
Problem changing label color | 0 | 67 | February 24, 2010 | |
Changing dynamic text field value via button | 0 | 117 | December 3, 2009 | |
Change string/variable color?(textfield) | 0 | 108 | July 21, 2011 |