Цитата:
Сообщение от flashowl
Где взять 9 флэш?
Не могли бы скинуть код?
|

Код AS1/AS2:
var mc:MovieClip;
var timer:Number;
var positionCat:Object = new Object();
positionCat._x = 125;
positionCat._y = 50;
var depth:Number = 0;
ecr_mc.onRollOver = function() {
Mouse.hide();
cat_mc.onMouseMove = function() {
cat_mc._x = _xmouse;
updateAfterEvent;
};
};
ecr_mc.onRollOut = function() {
Mouse.show();
};
cat_mc.onEnterFrame = function():Void {
if (this._x<26) {
this._x = 26;
}
if (this._x>226) {
this._x = 226;
}
};
function createBall():Void {
mc = attachMovie("ball_mc", "ball_mc"+depth, depth, positionCat);
setInterval(removeTarget,100,mc);
depth++;
}
function removeTarget(target:MovieClip):Void {
if (target.hitTest(cat_mc.lu_mc)) {
removeMovieClip(target);
}
}
createBall();
timer = setInterval(createBall, 2000);
fscommand("fullscreen", "true");
cat_mc.onMouseDown = function():Void {
cat_mc.play();
};
cat_mc.lu_mc.getNextHighestDepth();
Цитата:
Сообщение от flashowl
Где взять 9 флэш?
|
В интернете