Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: TEXT SCROLL - Is there a better way? (revisited)
From: Branden Hall
Date: Mon, 29 Nov 1999 21:49:22 GMT

I have an idea here... if you preformat your text into a line-by-line
variable basis... the scroll bar could be swapping those variables in and
out of a text box...
basically it would work like this:

line1= blah blah blah
line2= foo foo foo foo
line3= bar bar bar bar
line4= wee wee wee wee
line5= duh duh duh duh

Then you would have a text box with its variable set to textbox
you would then have a variable called pos and a variable called size
size would be the # of lines you could display at a time.. for this example,
say it is 2
your initial pos would be 1...
you would then just have a loop run everytime that someone pressed a button
that first either incremented or decremented the pos variable...
then the following would happen:

set variable "textbox"=""
set variable "temp"=0
loop while (temp<size)
textbox=textbox&Eval("line"&(pos+temp))
set variable "temp"=temp+1
end loop

as for the text its self.. It wouldn't be tough to write an ASP, PHP or CF
script to take in a chunk of text and divide it up into lines like that...

-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of David
Sent: Monday, November 29, 1999 4:10 PM
To: flasheratchinwag [dot] com
Subject: FLASH: TEXT SCROLL - Is there a better way? (revisited)


Resending as I figure my first one got lost over the weekend. :)
BTW, I already know about moock etc but those won't do what I'm looking for
as 1) I need to be able to use pretty much unlimited lines, and 2) I want to
keep the curved scrollbars.
...............................


The site in question is at http://www.clanpi.com/newpi

Click on the circle in the upper right corner.

Notice I've used a basic text scroll that tweens. Also note that the
scrollbar is curved, and also part of the tween. Given the amount of text,
it is extremely clunky-chunky slow to scroll.

Has a better way (without the limit to the number lines allowed) been found
to accomplish this so the scrolling is smooth? I'd also like to keep the
curved scrollbars (if at all possible).

Thanks
DGL



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: TEXT SCROLL - Is there a better w, David

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]