Displays a black rectangle for me, which I assume is tied to [this][1]. It may also be interesting to note the black rectangle is the size of the bitmap data, rather than the size of the filled rectangle.
class Main extends Sprite {
public function new () {
super();
var bitmapData = new BitmapData( 400, 400);
bitmapData.fillRect( new Rectangle( 0, 0, 40, 40 ), 0xFF336699 );
var bitmap = new Bitmap( bitmapData );
addChild(bitmap);
}
}
I guess bitmaps are currently broken for android?
[1]: All images are black in android