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);
};
|