LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-08-2005, 12:13 AM
Isekream Isekream is offline
Registered User
 
Join Date: Mar 2005
Posts: 152
Rep Power: 9
Isekream is on a distinguished road
Chat Scrolling ScrollPane using actionscript

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
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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




All times are GMT. The time now is 10:24 AM.