当前位置: 首页 > 图文教程 > Flash动画 > Flash动画制作 > Flash AS3常用的关于MC的代码

Flash动画制作
flash人物侧面绘画
用Flash 绘制世界杯会标
Flash中表现粗细变化笔触效果
Flash制作可爱时钟
标准的loading制作方法
人物造型
在Flash中使用位图的技巧
Flash制作特酷的图片遮照特效动画
Flash3d效果实例--水晶球
Flash MX Pro 2004播放视频文件
FLASH特效—有趣的手动哈哈镜
创建FLASH 塑料质感按钮
人物走路动作分解
Flash中简单跟踪弹的算法
FLASH实用技巧之太阳系制造
用Flash制作“拖曳配对题”
FlashMX2004精彩特效:网格式复制
FlashMX2004精彩特效之阴影
进度条 - 步骤教程
FLASH2004实例 : AS控制的扇子制作方法

Flash动画制作 中的 Flash AS3常用的关于MC的代码


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-04   浏览: 69 ::
收藏到网摘: n/a

yi_mc.wb_txt.text="星期一";
er_mc.wb_txt.text="星期二";
san_mc.wb_txt.text="星期三";
si_mc.wb_txt.text="星期四";
var wb1="年龄:111111<br>名字:落落<br>学历:帝吧军"
var wb2="222222222"
var wb3="333333333"
var wb4="444444444"
var wb:String=wb1;
stage.addEventListener(Event.ENTER_FRAME,cfzx);
function cfzx(e) {
 if (nr_mc.currentFrame==5) {
  nr_mc.nr_txt.htmlText=wb;
 }
}

yi_mc.addEventListener(MouseEvent.CLICK,yi);
function yi(e) {
 wb = wb1;
 nr_mc.play()
// nr_mc.nr_txt.htmlText="年龄:111111<br>名字:落落<br>学历:帝吧军";
}
er_mc.addEventListener(MouseEvent.CLICK,er);
function er(e) {
 wb = wb2;
 nr_mc.play()
// nr_mc.nr_txt.htmlText="22222222222222";
}
san_mc.addEventListener(MouseEvent.CLICK,san);
function san(e) {
 wb = wb3;
 nr_mc.play()
// nr_mc.nr_txt.htmlText="3333333333";
}
si_mc.addEventListener(MouseEvent.CLICK,si);
function si(e) {
 wb = wb4;
 nr_mc.play()
// nr_mc.nr_txt.htmlText="4444444444";
}