AS3 Test case #7 "CRASH" 0.71
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Lightspark |
Confirmed
|
Medium
|
Unassigned |
Bug Description
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
[SWF(width=465, height=465, backgroundColor
public class ColorTrans extends MovieClip {
private var bmd:BitmapData;
public function ColorTrans() {
bmd = new BitmapData(465, 465);
}
private function enterFrameHandl
var rect:Rectangle = bmd.rect;
var ct:* = new ColorTransform (1, 1, 1, 0.9);
var color:uint = 0xFFFF0000;
var fillR:Rectangle = new Rectangle(
}
}
}
It doesn't crash with the current git. I guess that the crash was due to a bug in bounds checking in fillRect. That bug was fixed by commit 8d08db55.
The output is, however, wrong (the rectangles stay on the screen instead of fading), because BitmapData does not support ColorTransform.