Цитата:
|
0xAARRGGBB, где AA - значение полупрозрачности)?
|
ну так и задавайте. как сказали выше смотрите setPixel32. еще так можно задать дефотный цвет в конструкторе BitmapData, если указан transparent=true;
Цитата:
BitmapData () Constructor
public function BitmapData(width:int, height:int, transparent:Boolean = true, fillColor:uint = 0xFFFFFFFF)
Language version: ActionScript 3.0
Player version: Flash Player 9
Creates a BitmapData object with a specified width and height. If you specify a value for the fillColor parameter, every pixel in the bitmap is set to that color.
By default, the bitmap is created as transparent, unless you pass the value false for the transparent parameter. After you create an opaque bitmap, you cannot change it to a transparent bitmap. Every pixel in an opaque bitmap uses only 24 bits of color channel information. If you define the bitmap as transparent, every pixel uses 32 bits of color channel information, including an alpha transparency channel.
|
RTFM )