5D艺术网首页
商城
|
资讯
|
作品
|
博客
|
教程
|
论坛
登录
注册
加为好友
发短消息
来自:
性别:秘密
最后登录:2009-06-08
http://dyzdj.5d.cn/
首页
|
新闻
|
话题
|
博客
|
相册
|
艺术作品
|
社交关系
|
留言板
|
社交圈
2006/08/27 | 电视机杂色效果
类别(AS2)
|
评论
(2)
|
阅读(66)
|
发表于 23:24
以下语句放在第一帧:
import flash.display.BitmapData;
var myBmp_bitmap:BitmapData = new BitmapData(100, 80, false, 0x00CCCCCC);
var my_mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
my_mc.attachBitmap(myBmp_bitmap, this.getNextHighestDepth());
my_mc._x = Stage.width/2-this._width/2;
my_mc._y = Stage.height/2-this._height/2;
onEnterFrame = function () {
myBmp_bitmap.noise(Math.floor(Math.random()*500), 0, 255, 1 | 2 | 4, true);
};
图片如下:
0
评论
Comments
日志分类
首页
[49]
flashcs3
[14]
coredraw
[1]
flash练习
[9]
AS2
[7]
生活点滴
[14]
资源下载
[3]
photoshop
[1]