本文目录一览

1,flash下雨怎么画

有两种做法,一种是用脚本语句代码制作,一种是用gif动态图片制作,把动态图片制作成影片剪辑元件,再放入场景合适位置即可。
那把下雨这个影片剪辑放到一个图层上,要下到什么时候贞就拖到哪,不久ok了?然后要下了再插入下雨的影片剪辑

flash下雨怎么画

2,flash怎么控制下雨

那把下雨这个影片剪辑放到一个图层上,要下到什么时候贞就拖到哪,不久OK了?然后要下了再插入下雨的影片剪辑
flash as 3.0 的下雨效果代码: var sj:timer = new timer(math.random()*300+50,100);var bl=0;sj.addeventlistener(timerevent.timer,sjcd);sj.start();function sjcd(event:timerevent) var yd:yd_mc = new yd_mc(); addchildat (yd,bl); yd.x=math.random()*550; yd.y=math.random()*150; yd.alpha=math.random()*1+0.2; yd.scalex=math.random()*1+0.2; yd.scaley=math.random()*1+0.2; bl++;} this.addeventlistener(event.enter_frame,cfcd);function cfcd(event:event) if (currentframe>90) for (var i=0; i<bl; i++) getchildat(i).visible=false; } sj.stop(); removeeventlistener(event.enter_frame,cfcd); }}

flash怎么控制下雨

3,谁知道Flash 下雨效果怎么做啊

http://tech.163.com/special/F/000915SN/FlashAS.htmlhttp://tech.163.com/05/1107/11/21V1DV3400091L3J.htmlhttp://tech.163.com/05/1108/11/221HJ9LC00091L3J.html
flash as 3.0 的下雨效果代码: var sj:timer = new timer(math.random()*300+50,100);var bl=0;sj.addeventlistener(timerevent.timer,sjcd);sj.start();function sjcd(event:timerevent) var yd:yd_mc = new yd_mc(); addchildat (yd,bl); yd.x=math.random()*550; yd.y=math.random()*150; yd.alpha=math.random()*1+0.2; yd.scalex=math.random()*1+0.2; yd.scaley=math.random()*1+0.2; bl++;} this.addeventlistener(event.enter_frame,cfcd);function cfcd(event:event) if (currentframe>90) for (var i=0; i<bl; i++) getchildat(i).visible=false; } sj.stop(); removeeventlistener(event.enter_frame,cfcd); }}

谁知道Flash 下雨效果怎么做啊


文章TAG:flash怎么做下雨flash  怎么  下雨  
下一篇