浏览模式: 普通 | 列表
将RGB转为0-255这样的十进制。

var color:uint = parseInt("0x38280f", 16);
var blue:int = color & 0xFF;
                             
var pixBitMapData:BitmapData;
var pixMap:Bitmap;
pixBitMapData = new BitmapData(mc.width ,mc.height, true, 0);
                             
var pixBitMapData:BitmapData;
var theScaleMatrix:Matrix;
var pixMap:Bitmap;
var maisaikeshuliang:Number=50;
                             
bar.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheel);

if (e.delta < 0) {
//如果是向下滚动