Kod: Zaznacz cały
onClipEvent(enterFrame){
_root.xmysz = _root._xmouse;
_root.ymysz = _root._ymouse;
i++;
_root.kursor.duplicateMovieClip( i, i);
setProperty("/" add i, _x, _root._xmouse);
setProperty("/" add i, _y, _root._ymouse);
}Kod: Zaznacz cały
onClipEvent(enterFrame){
_root.xmysz = _root._xmouse;
_root.ymysz = _root._ymouse;
i++;
_root.kursor.duplicateMovieClip( i, i);
setProperty("/" add i, _x, _root._xmouse);
setProperty("/" add i, _y, _root._ymouse);
}Kod: Zaznacz cały
var newMc:MovieClip;
var newDepth:Number;
var newName:String;
var speed:Number = 5;
this.onMouseMove = function() {
Mouse.hide();
kursorMc._x = _xmouse;
kursorMc._y = _ymouse;
newDepth = this.getNextHighestDepth();
newName = "mc" + newDepth;
newMc = this.attachMovie("kursorMc", newName, newDepth, {_x:_xmouse, _y:_ymouse});
kursorMc.swapDepths(this.getNextHighestDepth());
newMc.onEnterFrame = function() {
this._alpha = this._xscale = this._yscale -= speed;
this._yscale <= 0 ? this.removeMovieClip() : null;
};
updateAfterEvent();
};