5D艺术网首页
商城
|
资讯
|
作品
|
博客
|
教程
|
论坛
登录
注册
加为好友
发短消息
来自:
性别:秘密
最后登录:2007-09-22
http://yuheduo.5d.cn/
首页
|
新闻
|
话题
|
博客
|
相册
|
艺术作品
|
社交关系
|
留言板
|
社交圈
2005/08/12 | ActionScript做成QQ菜单(代码)
类别(Flash学习)
|
评论
(0)
|
阅读(94)
|
发表于 23:31
今天在一个网页上看到一个网友写的QQ菜单,自己也做一个试试
先看效果:
===========代码如下================
this.onEnterFrame=function(){
for(var i=2;i<=4;i++){
this["mc"+i]._y+=(this["mc"+(i-1)]._height+this["mc"+(i-1)]._y-this["mc"+i]._y)/5;
}
}
for(var i=1;i<=4;i++){
this["mc"+i].btn_a.onPress=function(){
myplay();
this._parent.play();
};
}
function myplay(){
for(var i=1;i<=4;i++){
_root["mc"+i].gotoAndStop(1);
}
}
0
评论
Comments
日志分类
首页
[149]
blog记事
[7]
Flash学习
[85]
教学记忆
[21]
娱乐影音
[9]
我的收藏
[27]
PhotoShop学习
[0]