silverswim
Programmer
Hi everyone;
Can someone please see why this code isnt working?There are supposed to be more than one of the mc's following the mouse, but they are not.
Only one e appears when the mouse moves, and then fades off if it stops.
onClipEvent (mouseMove) {
for (i=0;i<=9;i++){
this.duplicateMovieClip(this.snow1,("snow1"+i),i);
["snow1"+i]._x=(_root._xmouse)+i;
["snow1"+i]._y=(_root._ymouse)+i;
}
}
onClipEvent (enterFrame) {
if(this._name == "snow1"
{
_visible=0;
}
else { this._x=_root._xmouse;
this._y=_root._ymouse;
this._alpha -=5;
this._rotation +=2;
this._xscale -=5; this.yscale -=5;
if (this.alpha <=5) {
removeMovieClip(this);
}
}
}
Can someone please see why this code isnt working?There are supposed to be more than one of the mc's following the mouse, but they are not.
Only one e appears when the mouse moves, and then fades off if it stops.
onClipEvent (mouseMove) {
for (i=0;i<=9;i++){
this.duplicateMovieClip(this.snow1,("snow1"+i),i);
["snow1"+i]._x=(_root._xmouse)+i;
["snow1"+i]._y=(_root._ymouse)+i;
}
}
onClipEvent (enterFrame) {
if(this._name == "snow1"
_visible=0;
}
else { this._x=_root._xmouse;
this._y=_root._ymouse;
this._alpha -=5;
this._rotation +=2;
this._xscale -=5; this.yscale -=5;
if (this.alpha <=5) {
removeMovieClip(this);
}
}
}