The issue below was resolved by changing my movie from version 7 to version 6 (and keeping AS v.2) … so my real question should be… how do I code the following in MX2004 version 7.02, … ie is it something to do with stylesheets, and how do I go about doing this?
Thanks for reading - JJ
Hi
I am using the following setStyleProperty code to customise my List Box (instance name is newSLBox). The code for changing the face and arrow code works, but not the text manipulators (textSize, textAlign, textFont)
newSLBox.setStyleProperty("textSize", 20);
newSLBox.setStyleProperty("selection", 0x3366aa);
newSLBox.setStyleProperty("textFont", "Courier New");
newSLBox.setStyleProperty("face", 0x33ffee);
newSLBox.setStyleProperty("arrow", 0xeeeeee);
newSLBox.setStyleProperty("textAlign", "center");
The data shows up okay - it was added using addItemAt() function.
If anyone knows a reason why, ie, do I need to check something else, please let me know.
Thanks,
JJ