Groups | Blog | Home
all groups > flash actionscript > february 2005 >

flash actionscript : Setting amount to scroll on one click



shock_parade
2/23/2005 11:50:41 PM
Just wondering if its possible to edit the actionscript in the scrollbar
component of MX (not 2004) so that one click would move down a certain number
of lines. I basically have an external txt file that looks something like:
myText=Line 1 Line 2 Line 3 Line 4 (lines 1-4 are shown next to titles such
as 'date:' 'time') I was hoping i could make it so on one click of the down
arrow the whole thing slides down to show lines 5-8, then 9-12 etc and also so
pressing the up arrow does the reverse. I read through the actionscript myself
a few times but got completely lost!! Hope that all makes sense!! Any Ideas?!?
rlc5611
2/24/2005 12:40:40 AM
I think this will work for either MX or MX 2004 scrollbars:

shock_parade
2/24/2005 12:57:19 AM
AddThis Social Bookmark Button