TitleWindow.open {
closeButtonUpSkin:Embed('img/openNav.png');
closeButtonDownSkin:Embed('img/openNav.png');
closeButtonOverSkin:Embed('img/openNav.png');
closeButtonDisabledSkin:Embed('img/openNav.png');
}
</mx:Style>
</mx:VBox>
/* 扩大缩小titlewindow */
private function minFram(event:Event):void{
var w:int=twWindow.width;
if(twWindow.width==twWindow.minWidth){
twWindow.styleName="close";
twWindow.width=twWindow.maxWidth;
}else{
twWindow.styleName="open";
this.twWindow.width=twWindow.minWidth;
}
}
</mx:Application>