|
主题: 如何避免director打包文件运行时按Esc键退出?
|
 uprise
职务:普通成员
等级:1
金币:0.0
发贴:27
注册:2001/3/30 22:11:56
|
#12002/7/31 10:55:32
如何避免director打包文件运行时按Esc键退出
|
 D计划-混沌
职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
|
#22002/7/31 12:11:36
set the exitLock to TRUE
|
 sunangel_5d
职务:普通成员
等级:1
金币:0.0
发贴:85
注册:2002/8/6 12:47:45
|
#32002/8/15 11:05:09
可在电影脚本中加入 on keydown if the key="Esc" then nothing end
|
 疯狂的少年
职务:普通成员
等级:1
金币:0.0
发贴:106
注册:2002/4/27 8:39:38
|
#42002/8/16 21:26:46
set the exitLock = TRUE是对的! 下面的语句是错的 on keydown if the key="Esc" then nothing end
|
 sunangel_5d
职务:普通成员
等级:1
金币:0.0
发贴:85
注册:2002/8/6 12:47:45
|
#52002/8/17 9:38:13
这样应该可以 on keydown if the key=("Esc"的Ascii码数) then nothing end :)我不知道"Esc"的Ascii码值!
|
 特立独行
职务:普通成员
等级:1
金币:1.0
发贴:263
注册:2002/1/25 0:09:06
|
#62002/8/17 9:59:43
应该是 on keydown if the keycode=("Esc"所对应的值,是53,不是Ascii码数) then nothing end
编辑历史:[这消息被特立独行编辑过(编辑时间2002-08-17 11:11:01)]
|