◆ 网页平面多媒体培训、认证考试免费咨询热线:400-700-5807 进入网络咨询平台 ◆
c.编写画面行为脚本(相应范围是当前帧),按窗口上角的 按钮,新建一个脚本,起名为“Frame Script”,设置其脚本类型(type)为“behavior”。然后在脚本编辑窗口里写入以下脚本:
on exitFrame me
go the frame
end
--当鼠标右键按下时显示菜单
on rightmousedown
ShowMenu
end
--当鼠标按下时显示菜单
on mouseup
HideMenu
end
OK! 脚本写完了!我们来做最后一步吧——“灵魂附体”!呵呵!

图 7
上一页 [1] [2] [3] [4] [5] [6] 下一页
 【责编:runlz】 |