- 4
- 0
- 约小于1千字
- 约 13页
- 2017-05-04 发布于湖北
- 举报
在线互动媒体技术2015课件第四章交互案例菜单类型研讨
;;(1)横向菜单;;;;;;;;private function toggleClickHandler(event:MouseEvent):void {
if (mComboBox.getChildByName(sListContainer).visible) {
hideList();
} else {
showList();
}
}
private function showList():void {
mComboBox.getChildByName(sListContainer).visible=true;
mComboBox.stage.addEventListener(MouseEvent.MOUSE_UP, hideListHandler);
}
private function hideList():void {
mComboBox.getChildByName(sListContainer).visible=false; mComboBox.stage.removeEventListener(MouseEvent.MOUSE_UP, hideListHandler);
};;
原创力文档

文档评论(0)