1 // makeswf -v 7 -s 200x150 -r 1 -o mouse-movie-below-nonevent-movie.swf mouse-movie-below-nonevent-movie.as
3 rectangle
= function (mc
, color
, x
, y
, w
, h
) {
7 mc
.lineTo
(x
+ w
, y
+ h
);
13 install
= function (mc
) {
14 mc
.onRollOver
= function () { trace
("onRollOver: " + this); };
15 mc
.onRollOut
= function () { trace
("onRollOut: " + this); };
16 mc
.onDragOut
= function () { trace
("onRollOut: " + this); };
17 mc
.onDragOver
= function () { trace
("onDragOver: " + this); };
18 mc
.onPress
= function () { trace
("onPress: " + this); };
19 mc
.onRelease
= function () { trace
("onRelease: " + this); };
20 mc
.onReleaseOutside
= function () { trace
("onReleaseOutside: " + this); };
23 createEmptyMovieClip
("a", 0);
25 createEmptyMovieClip
("b", 1);
26 rectangle
(a
, 0, 0, 0, 200, 150);
27 rectangle
(b
, 0xFF, 25, 25, 100, 100);