The Button skin like this
CloseButtonSkin.mxml
...
protected function skin1_creationCompleteHandler(event:FlexEvent):void{
var downsolidcolor:uint =
hostComponent.getStyle('close-button-down-background-solid-color');
var overcolor:uint = getStyle('close-button-over-background-color');
var
I copy and paste the spark.skins.spark.PanelSkin to create a custom Panel with
a close button.There are two problem. I defined some style in the CusPanel.mxml
which inherit the Panel. How can let the button in the skin class access these
properties? The second problem is when I clicked the butto
2 matches
Mail list logo