I have a slider_mc which is currently being controlled by a mouse action
var value = 0;
bar._x = value;
bar.onPress = function(){
this.onMouseMove = slideMouseMove;
}
bar.onRelease = bar.onReleaseOutside = function(){
delete this.onMouseMove;
}
function slideMouseMove(){
this._x = Math.min(Math.max(0, this._parent._xmouse), 100);
value = this._x/100;
this._parent.onChanged(value);
}
this.onChanged(value);
how can I apply a timer to automatically move the slider? eg a timer to count from 0 to 100 or alt replace the slider with a timer so that the image gradually changes from grey to color
here is the source http://www.senocular.com/flash/files/desaturateimage.fla