Afficher un message
Vieux 06/04/2008, 11h11   #2
rlc5611
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can only set 1 variable--real weird, AS2.

Your are placing an onEnterFrame function on "this" twice. The second one is
overwriting the first one.

Either combine all your script into one function, apply your onEnterFrame
functions to two different clips or use setIntervals.

Replace your two enterframe functions with this.

slider.onEnterFrame = function() {
this._parent.temp.gotoAndStop(this.perc);
};
sliderwet.onEnterFrame = function() {
this._parent.rain.gotoAndStop(11-this.percwet);
};

  Réponse avec citation
 
Page generated in 0,04361 seconds with 9 queries