header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Ankush
Points:240
Posts:0

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 ?



1
RedBull
Points: 930
Posts:0
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.

2
Ankush
Points: 240
Posts:0
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.

3
Mac_UK
Points: 0
Posts:0
12/2/2010 11:46:01 PM



changing the skin property at runtime should work in titlewindow
skinClass="myTitleWinSkin1"


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 5+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions