主题:  求助,在D中隐藏导航栏怎么做呀,

338705

职务:普通成员
等级:1
金币:0.0
发贴:6
注册:2005/2/2 10:13:46
#12005/2/21 19:39:18
我想在D中做一个隐藏的导航栏,就是屏幕没有导航栏,把光标移动到屏幕的右边缘时,导航栏自去滑出来,可是不知道具体怎么做,哪位大哥帮小弟一下,我在网上搜索也没找到,可是有人说可以做到.



5D荣誉斑竹

职务:普通成员
等级:4
金币:13.0
发贴:1504
注册:2000/11/14 12:10:50
#22005/2/21 22:11:28
sprite(1)._visible=false
sprite(1)._visible=true



set the visible of sprite(1)=0
set the visible of sprite(1)=1


閑闪互动多媒体

D计划-混沌

职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
#32005/2/22 1:18:23
on exitFrame me
set ph=(the stageBottom - the stageTop)
set psh=ph-40
if _mouse.mousev>psh and sprite(1).top>=psh then
sprite(1).locv=psh-(psh-sprite(1).top)/4+sprite(1).height/2
updatestage
else
sprite(1).locv=ph+sprite(1).height/2
end if
end