弹出式菜单的制作方法Flash

在实际的制作中我们经常会遇到弹出式菜单的制作过程!下面笨笨熊就弹出菜单的制作举个例子以帮助大家理解!

1:分别创建三个菜单内容的动画文件content1.swf,content2.swf content3.swf,具体可自己设定。

2:在FLASH中新建一文件。

3:分别创建4个按钮符号,button button1,button2,button3,依次标示为主菜单,第一个菜单项,第二个菜单项,第三个菜单项。 按钮的UP/OVER可适当的变换一下颜色。

4:新建一名字为popupmetu的动画剪辑符号,1桢设定ACTION/ADD GO TO AND STOP(1)。

5:拖拽button到popupmetu中,双击它,在“tracking options”中 选track as metu item,ACTION:on(release) go to and stop (2) end on

6:2桢处依次将button1-3拖入场景,并且排列整齐。分别设定以下动作:
button1:
on(release) load movie("content1.swf",1) go to and stop(1) end on
button2:
on(release) load movie("content2.swf",1) go to and stop(1) end on
button3:
on(release) load movie("content3.swf",1) go to and stop(1) end on

7:新建一buttonx按钮对象,hit桢处,绘制矩形(稍大于展开菜单)。

8:回到popupmetu中,新建一层命名为control,拖入buttonx, 放于展开菜单下,buttonx动作为: on(rollout) go to and stop (1) end on . 当鼠标滑出菜单选项时会,自动恢复。

9:将popupmetu拖入场景中,

10:control-test movie预览动画效果。

转载于:https://www.cnblogs.com/lovenets/articles/425121.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值