Combined Code
frame 1 {
Mouse.hide();
startDrag('mc_cursor1', true);
}
movieClip 4 {
}
movieClip 7 {
}
movieClip 10 {
}
instance mc_cursor1 of movieClip 10 {
onClipEvent (load) {
n = 1;
w = _width;
h = _height;
lupa_radius = 1.5;
smeshenie_po_x = (1000 - w) / 2;
smeshenie_po_y = (1000 - h) / 2;
}
onClipEvent (mouseMove) {
xm = _root._xmouse;
ym = _root._ymouse;
_x = xm;
_y = ym;
mc_internally1._x = -xm;
mc_internally1._y = -ym;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (md) {
if (n < 3) {
n += 0.25;
}
}
if (md == 0) {
if (n > 1.5) {
n -= 0.25;
}
}
_xscale = 100 * n;
_yscale = 100 * n;
}
onClipEvent (mouseDown) {
md = 1;
}
onClipEvent (mouseUp) {
md = 0;
}
}