/* Define the skin elements that should not be colorized.
For toggle button, the graphics are colorized but the label is not. */
static private const exclusions:Array = ["labelDisplay"];
/**
* @private
*/
override protected function initializationComplete():void
{
useChromeColor = true;
super.initializationComplete();
}
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
{
//super.updateDisplayList((this.hostComponent as Object).outerDocument.hostComponent.width, unscaledHeight);
var image:Class = Class((this as Object).hostComponent.data.icon);
var label:String = (this as Object).hostComponent.data.label;
var name:String = (this as Object).hostComponent.data.name;
labelDisplay.text = label;
//icon.source = image;
super.updateDisplayList(unscaledWidth, unscaledHeight);
}
/**
* @private
*/
override public function get colorizeExclusions():Array {return exclusions;}
import mx.core.INavigatorContent;