vip贵宾
性别保密
威望 点
注册时间2015-2-17
最后登录1970-1-1
在线时间 小时
好友
UID37012
听众
阅读权限120
- 积分
- 2844
鲜花( 3) 鸡蛋( 0)
|
楼主 |
发表于 2015-7-6 16:42
|
显示全部楼层
Stage.scaleMode = "noScale";
import flash.display.BitmapData;
import flash.filters.ConvolutionFilter;
import flash.geom.Rectangle;
var con = new ConvolutionFilter(3, 3, [1, 1, 1, 1, 30, 1, 1, 1, 1], 38);
var rect:Rectangle = new Rectangle(0, 0, Stage.width, 400);
var bitmap1 = new BitmapData(rect.width, rect.height, false , 0x00000000 );
var bitmap2 = new BitmapData(rect.width, rect.height, true, 0x00000000);
var bitmapShow1 = createEmptyMovieClip("bitmapShow1", 1).attachBitmap(bitmap1, 1);
var bitmapShow2 = createEmptyMovieClip("bitmapShow2", 2).attachBitmap(bitmap2, 2);
var m_mouseX;
var m_mouseY;
var sound1 = new Sound();
var sound2 = new Sound();
var bit_px = new Array(bits);
var bit_py = new Array(bits);
var bit_vx = new Array(bits);
var bit_vy = new Array(bits);
var bit_sx = new Array(bits);
var bit_sy = new Array(bits);
var bit_l = new Array(bits);
var bit_f = new Array(bits);
var bit_p = new Array(bits);
var bit_c = new Array(bits);
init();
function init() {
sound1.attachSound("sound1");
sound2.attachSound("sound2");
bits = 500;
bit_max = 50;
bit_sound = 2;
for (var j = 0; j |
|