[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Symbol 9 MovieClip Frame 1 (271 B)
onMouseMove = function () {
_x = (defaX + (_xmouse / 20));
_y = (defaY + (_ymouse / 20));
if (_x < -6) {
_x = 6;
}
if (_x > 20) {
_x = 20;
}
if (_y < 0) {
_y = 0;
}
if (_y > 20) {
_y = 20;
}
};
defaX = _x;
defaY = _y;
Symbol 16 MovieClip Frame 1 (8 B)
stop();
Symbol 30 MovieClip Frame 1 (1 B)
Symbol 32 MovieClip Frame 1 (518 B)
_root.head_mc.face_mc.gotoAndStop(1);
if (moveFlg == undefined) {
moveFlg = false;
stop();
onPress = function () {
moveFlg = true;
};
onRelease = (onReleaseOutside = function () {
moveFlg = false;
});
onMouseMove = function () {
if (moveFlg) {
gotoAndStop(Math.floor(_root._xmouse / 100));
}
};
onEnterFrame = function () {
if (bob._alpha != 100) {
bob._alpha = bob._alpha + 5;
}
};
onRelease = function () {
bob._alpha = bob._alpha / 2;
moveFlg = false;
};
}
Symbol 32 MovieClip Frame 3 (38 B)
_root.head_mc.face_mc.gotoAndStop(2);
Symbol 32 MovieClip Frame 4 (38 B)
_root.head_mc.face_mc.gotoAndStop(2);