flash pendulum motion
flash pendulum motion
Out of context: Reply #5
- Started
- Last post
- 5 Responses
- unfittoprint0
//paste function where the slider
// containing the pictures residefunction slide(targetx){
clearInterval(slideLoop);
slideLoop = setInterval(this,"chkSlide", 30, targetx)
};function chkSlide(targetx){
slider._x += (targetx-slidex)/4
if(Math.abs(targetx-slider._x) < 1){
clearInterval(slideLoop);
}
}//usage for 25% thumbs...
thumb.onPress = function(){
slide(-this._x*4)
}