Best practices is it done in the createChildren or doing it here is fine to set 
the styles of custom buttons etc..?

/**
* 
* Set the Style of the Button and Indicator here
*/
override public function styleChanged(styleProp:String):void{
super.styleChanged(styleProp);
if(closeButton && !closeButton.styleName){
closeButton.styleName =getStyle("tabCloseButtonStyle");
}
}
 



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to