homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

ComboBox Component Skinning/Designing

10+ Year Member

Msg#: 452 posted 9:06 pm on Mar 25, 2005 (gmt 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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved