I´m using the Macromedia scroll pane component in Flash MX to build a scrollable map. I want to increase the scroll speed when pushing the down/up arrows. How can I do that?
Cheers
Jonas
I´m using the Macromedia scroll pane component in Flash MX to build a scrollable map. I want to increase the scroll speed when pushing the down/up arrows. How can I do that?
Cheers
Jonas
//set Horizontal Scroll Speed
//small scroll speed:
*scrollpane*.hScrollBar_mc.setSmallScroll(*n*);
//large scroll speed:
*scrollpane*.hScrollBar_mc.setLargeScroll(*n*);
//
//set Vertical Scroll Speed
//small scroll speed:
*scrollpane*.vScrollBar_mc.setSmallScroll(*n*);
//large scroll speed:
*scrollpane*.vScrollBar_mc.setLargeScroll(*n*);
hope this helps:
:: Copyright KIRUPA 2024 //--