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