Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这听起来很简单,但我似乎不知道如何设置两个退出按钮。一个在前面的菜单,一个在最后的菜单。我的前菜单有效,但我似乎无法完成一项工作。
谢谢
代码用于前面的菜单,效果很好。
import flash.system.fscommand; exit.addEventListener(MouseEvent.CLICK, CloseApp); function CloseApp(e:MouseEvent) { fscommand("quit"); }