|
|
|
#1 |
|
Junior Member
Join Date: Nov 2009
Posts: 8
|
change listbox values setStyle isnt working for me?
Hi guys and gals - flash cs3 here I cant change the compnonent lists font values - in particular the font color...
I can use this and it works fine Code:
playList.setStyle("contentPadding", 50);
Code:
playList.setStyle("color", "red");
Does anyone have a list of styles that can be changed in a list? or a reference to them? thanks in advance for any help you can give to this problem |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Nov 2009
Posts: 8
|
so this is the solution I have found
Code:
var colorTextFormat:TextFormat = new TextFormat();
colorTextFormat.color = 0xFFFFFF;
colorTextFormat.font = "Arial";
colorTextFormat.size = 10;
StyleManager.setStyle("colorTextFormat",colorTextFormat);
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|