joaoVieira
06-09-2003, 07:33 PM
I'm trying to stop a movieClip, when the mouse roles over it but keep the others moving.
I've got 3 movieClip's with the following instance names:
animal1_mc
animal2_mc
animal3_mc
_root.vazio_mc.onEnterFrame = function(){
for (i=1; i<4; i++){
_root["animal"+i+"_mc"].onRollOver = function (){
_root.instanceName = this._name;
_root.instanceNumber = _root.instanceName.substr (6,1);
_root.number = Number (_root.instanceNumber);
}
_root["animal"+i+"_mc"]._x = _root["animal"+i+"_mc"]._x + 1;
}
}
I can identifie wich one the mouse is over but i canīt stop it, without stoping all the others too.
Could someone give me an ideia of how to do this.
Thank's in advance
I've got 3 movieClip's with the following instance names:
animal1_mc
animal2_mc
animal3_mc
_root.vazio_mc.onEnterFrame = function(){
for (i=1; i<4; i++){
_root["animal"+i+"_mc"].onRollOver = function (){
_root.instanceName = this._name;
_root.instanceNumber = _root.instanceName.substr (6,1);
_root.number = Number (_root.instanceNumber);
}
_root["animal"+i+"_mc"]._x = _root["animal"+i+"_mc"]._x + 1;
}
}
I can identifie wich one the mouse is over but i canīt stop it, without stoping all the others too.
Could someone give me an ideia of how to do this.
Thank's in advance