12/2/2010 3:50:09 AM
Title:
Spark titleWindow header color
Hi Friends,
I want to change header color to in spark titlewindow at run time in as file.
How we can to do it ?
12/2/2010 10:14:10 PM
you need to create a new skin or modify the original skin . I would rather copy the original file TitleWindowSkin.mxml from spark frame work installation and copy to my project. then set the skinclass to this new class. Modify and use it.
12/2/2010 11:03:44 PM
RedBull i have tried this, but i want to know how to apply skinClass at run time.
i have tried this: this.setStyle("skinClass", skins.TitleWindowSkin)
My class extends TitleWindow (spark)
But this didnt worked for me.
12/2/2010 11:46:01 PM
changing the skin property at runtime should work in titlewindow
skinClass="myTitleWinSkin1"