主题:  esc键控制问题

5D荣誉斑竹

职务:普通成员
等级:4
金币:13.0
发贴:1504
#12002/6/14 11:52:25
Esc,程式不會全關,而是會將畫面縮小至800x600。也不是不能响应的那天种


閑闪互动多媒体

D计划-混沌

职务:管理员
等级:6
金币:15.2
发贴:3528
#22002/6/19 19:36:06
你的意思是全屏到in a window吧(象flash的播放器,呵呵)
我的印象是似乎做过,有相关的语句,但是记不起来了,好像也没人知道,??
还好可以用(the stage).rect和(the stage).drawrect,或许更方便一些
project做成in a window
on preparemovie
set the exitLock to true
(the stage) .rect=the desktoprectlist[1]
end
on keydown
if the keycode=53 then
(the stage) .rect=rect[0,0,800,600]
end if
end