|  | Customize the Window Component |  | |
| | | Pinnennet |  |
| Posted: Mon Jun 02, 2008 7:46 pm Post subject: Customize the Window Component |  |
How can i change the color of the border in the window component? I can change the fonts and stuff like that but i cant understand how to change the border. Please help me!
/ Pinnennet |
| |
| | | Pinnennet |  |
| Posted: Tue Jun 03, 2008 9:58 am Post subject: Re: Customize the Window Component |  |
| Please guys (and girls) i need this! :S |
| |
| | | Ankur Arora |  |
| Posted: Tue Jun 03, 2008 12:19 pm Post subject: Re: Customize the Window Component |  |
Very easy to do this just check below code
myWindow.setStyle("borderStyle","solid"); myWindow.setStyle("borderColor",0x000000);
[HR] Thanks & Regards Ankur Arora Project Leader(Flash and Flex) LINK [H]let your thoughts fly to others... you will become rich.[/H] [HR] |
| |
| | | Pinnennet |  |
| Posted: Tue Jun 03, 2008 3:44 pm Post subject: Re: Customize the Window Component |  |
| Thank you Ankur, but that wasnt enough. What i ment was the "upper border" or the "Title Area". Its always grey as standard and i want to change that. |
| |
| | | Ankur Arora |  |
| Posted: Fri Jun 13, 2008 1:06 pm Post subject: Re: Customize the Window Component |  |
In that case you have to create a movie clip with the linkage name of skinTitleBackground, inside this movie clip create three different movie clip one is for left side of the title bar, 2nd is for middle bar, and the third one is right side. Always keep in mind that middle bar will increase as per the required width of Window Component. Set a Instance name to all three bar like :- Left = l_mc Middle = m_mc Right = r_mc
that is all, you done with customizing the TitleBar.
[HR] Thanks & Regards Ankur Arora Project Leader(Flash and Flex) LINK [H]let your thoughts fly to others... you will become rich.[/H] [HR] |
| |
|
|