alberto_g
08-11-2005, 08:08 AM
Hi, I have a question about scrolling a graphic with the mouse.
Basically I have divided the stage in 3 parts:
- left from 0 to 100 --> the graphic has to scroll at different speed according with the xmouse (0--> maximum speed, 100-->minimun speed).
- center from 100 to 450,the graphic has decelerate.
- right from 450 to 550--> the graphic has to scroll at different speed according with the xmouse (550--> maximum speed, 450-->minimun speed).
My problem is how do I deccelerate the speed of the graphic when the mouse is in the center area?, is there any way to ease a numeric value?.
Thanks
Basically I have divided the stage in 3 parts:
- left from 0 to 100 --> the graphic has to scroll at different speed according with the xmouse (0--> maximum speed, 100-->minimun speed).
- center from 100 to 450,the graphic has decelerate.
- right from 450 to 550--> the graphic has to scroll at different speed according with the xmouse (550--> maximum speed, 450-->minimun speed).
My problem is how do I deccelerate the speed of the graphic when the mouse is in the center area?, is there any way to ease a numeric value?.
Thanks