add blend mode tests
[swfdec.git] / test / image / rotated-filter-size.as
blob3d2f82e9c8368a4504568f7f80fc9e55c54da376
1 // makeswf -v 7 -s 200x150 -r 1 -o rotated-filter-size.swf rotated-filter-size.as
3 rectangle = function (mc, color, x, y, w, h)
5 mc.beginFill (color);
6 mc.moveTo (x, y);
7 mc.lineTo (x, y + h);
8 mc.lineTo (x + w, y + h);
9 mc.lineTo (x + w, y);
10 mc.lineTo (x, y);
11 mc.endFill ();
14 createEmptyMovieClip ("a", 0);
15 rectangle (a, 0xFF, 0, 0, 50, 50);
16 a._x = 100;
17 a._y = 75;
18 a.filters = [ new flash.filters.ColorMatrixFilter ([0, 0, 0, 0, 255,
19 0, 0, 0, 0, 0,
20 0, 0, 0, 0, 0,
21 0, 0, 0, 0, 255])];
23 a._rotation = 120;
25 //getURL ("fscommand:quit", "");