PDA

View Full Version : windowStyles problem


cmxcmz2002
02-02-2005, 03:59 PM
I am trying to skin the window component using windowStyles. Most of the window style is working, but I can't set the style "backgroundColor", and "borderStyle" .

Can anybody tell me why?



//Code like this:


_global.styles.windowStyles.setStyle("backgroundColor", 0xCCCCCC );//not working
_global.styles.windowStyles.setStyle("borderStyle", "inset"); // not working


_global.styles.windowStyles.setStyle("color", 0xEFEBEF ); // title text color
_global.styles.windowStyles.setStyle("fontStyle", "italic"); // title font
_global.styles.windowStyles.setStyle("fontSize", 12); // title font szie
_global.styles.windowStyles.setStyle("textAlign", "left"); //title text alignment
_global.styles.windowStyles.setStyle("textIndent", 5); // title text indent


createClassObject(Window, "window", 1, {title: "A Window", contentPath: "content"});