Answered
control the mc
hi:
i want to control the mc ,i created! means that when the mc load, i use the onRollOver function to make it moving from left to right, when the mouse rollout, its stop!
i use the following code:
mymc.onRollOver = function() {
this._x + = 3;
if(this._x > 300) {
this._x = 20;
}
}
mymc.onRollOut = function() {
this.stop() ;
}
but its not work !
thanks very much!
i want to control the mc ,i created! means that when the mc load, i use the onRollOver function to make it moving from left to right, when the mouse rollout, its stop!
i use the following code:
mymc.onRollOver = function() {
this._x + = 3;
if(this._x > 300) {
this._x = 20;
}
}
mymc.onRollOut = function() {
this.stop() ;
}
but its not work !
thanks very much!
