BitmapData.rectangle.height is given the wrong value (the width instead of the height). The following haxe program demonstrates the problem: import flash.display.BitmapData; class Main { public static function main() { var b : BitmapData = new BitmapData(50, 60); trace("width = " + Std.string(b.width)); trace("height = " + Std.string(b.height)); trace("rectangle = " + Std.string(b.rectangle)); } } The expected output is: Main.hx:6: width = 50 Main.hx:7: height = 60 Main.hx:8: rectangle = (x=0, y=0, w=50, h=60) The actual output with swfdec is: Main.hx:6: width = 50 Main.hx:7: height = 60 Main.hx:8: rectangle = (x=0, y=0, w=50, h=50)
Created attachment 20229 [details] A .swf compiled from the above example code
I had actually fixec it in master, but not in 0.8. Now it's fixed there, too.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.