Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

ComboBox Component Skinning/Designing

9:06 pm on Mar 25, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:May 22, 2004
votes: 0

I've semi-skinned a combobox in flash. Everything but the border and the right box with the arrow in it have been skinned. Here is the actionscript:

this.setStyle("face", "0x67652E");
this.setStyle("buttonColor", "0x67652E");
this.setStyle("borderCapColor", "0x67652E");
this.setStyle("shadowCapColor", "0x67652E");
this.setStyle("highlightColor", "0x67652E");
this.setStyle("shadowColor", "0x67652E");
this.setStyle("dropDown", "0x67652E");
this.setStyle("borderColor", "0x67652E");
this.setStyle("backgroundColor", "0xD0CA2D");
this.setStyle("fontSize", "9");
this.setStyle("fontFamily", "Arial");
this.setStyle("color", "0xA6A242");
this.setStyle("rollOverColor", "0xE5DF3F");
this.setStyle("themeColor", "0xE5DF3F")
this.setStyle("selectionColor", "0xF7F03D");
this.setStyle("ComboDownArrowDownName", "0xFF0000");
cats = new Array("Slow", "Soft", "Medium", "Fast", "UpBeat");
representatives = new Array("slow", "soft", "medium", "fast", "upbeat");
for(i=0; i<representatives.length; i++)
this.addItem(cats[i], representatives[i]);

If anyone wants so the swf, fla, or a screencap of the combobox, feel free to pm me. FYI, flash documentation has nothing in the combobox area to help skin the specified parts from when I checked.