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 | 110 | February 8, 2010 | |
Problem with changing the colour of actionscript text | 0 | 77 | September 19, 2007 | |
TextBox change color question
|
0 | 37 | March 30, 2005 | |
TextBox change color question | 0 | 38 | March 30, 2005 | |
Dynamic xml text help
|
0 | 44 | February 10, 2008 |