0
當懸停在另一個元素上時如何設置懸停狀態(upSkin)? 這個例子不工作的火花: https://stackoverflow.com/questions/3364244?tab=oldest#tab-top懸停在另一個火花元素上時改變狀態
願做這樣的事情:
<s:Button id="but1"/>
<s:Button label="change" mouseOver="button2_mouseOverHandler(event)"/>
protected function button2_mouseOverHandler(event:MouseEvent):void{
//make but1 look like I'm hovering it
}
但我應該怎麼做,使按鍵的狀態懸停什麼? – czerasz 2010-09-06 00:59:16
我用這個:var skin:AddButtonSkin = buttonId.skin as AddButtonSkin; skin.setCurrentState( 「上」); – czerasz 2010-09-06 14:50:56