
Welcome Guest
|
#1
|
|||
|
|||
|
Hello,
Has anyone ever scrolled the scrollPane using actionscript instead of the scrollbars. I want to scroll the scrollPane based on the mouse cords when scrollPane.hitTest(); Anyone know of any tuts? hollar Kendall I managed to come up with something but its still a bit off...hoping someone as more of an angle on the code here Actionscript:
this.onMouseMove = function() {
trace(_xmouse);
var scrollPoint:Number = scrollMapView.width-(scrollMapView.width-scrollMapView._xmouse)*(Tree._width/100);
scrollMapView.hPosition = Math.floor(scrollPoint/scrollMapView.hLineScrollSize);
}Last edited by Isekream : 12-09-2005 at 11:17 AM Reason: update in progress |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flash ActionScript 2.0 Learning Guide | chetan1 | Flash 8 |
0 | 05-12-2008 06:14 AM |
| Scrollpane text mc - actionscript | keith30 | Flash MX ActionScript |
1 | 08-30-2006 02:16 AM |
| Scrollpane text - actionscript | keith30 | Flash MX |
7 | 08-16-2006 09:26 AM |
| Need help with Actionscript for Scrolling images that link. | audiodice | Flash MX 2004 |
0 | 04-28-2004 06:19 PM |
| help with actionscript scrolling text | masa | Flash 5 Actionscript |
1 | 09-20-2001 11:29 PM |





