This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > November 2006 > Customzing a Window Component





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Customzing a Window Component
sandeepacharya

2006-11-05, 10:33 pm

Hi All,

I am facing a problem in customizing a window component. I have used the
following line of code to generate a window component at runtime.

mywin = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window,
true,{closeButton: true, title:"Trial Window...."});

Now I want to change the title background color and scroll color (internally a
movieclip having a textarea is getting loaded into the window. so the scroll is
coming when the textarea overflows.) of the window.
I have used

if (_global.styles.windowStyles == undefined) {
_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration();
}
//_global.styles.windowStyles.setStyle("themeColor", "0x990000");


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews