all groups > flash actionscript > september 2004 >
You're in the

flash actionscript

group:

Scroller +mathematics


Scroller +mathematics thoand
9/12/2004 6:32:01 PM
flash actionscript: Hi,
I am tweaking on a scroller, and I've had no problems so far.

Please look here:
http://www.mr-andersen.no/scroller6.html
( source available)

The text will be loaded dynamically( right noe I've placed some test
text in a variable, Frame 1, Layer 3)

But can anyone here explain how I can make the scroll bar stop
at the end of the dynamically text.
Now it allways stops way under the text.

see dragMC.buttonMC -> button action


Can anyone please help me?

best regards

T
Re: Scroller +mathematics kglad
9/12/2004 7:46:48 PM
it doesn't make much sense to scroll a textfield that's autosized. you could
move the textfield because it's too large to be visible in its entirety
on-stage and that's what you're currently trying to do, but the effect will be
unsatisfactory when viewed in a browser window because the textfield is moving
from off-stage to on-stage and at times will be only partially visible,
including partial lines of text.

i believe fixing the size of your textfield and scrolling it normally would
have a much better effect than what you are currently doing. but if you want
to continue with moving your textfield from off-stage to on-stage, i'll help
with that too. which do you prefer?
AddThis Social Bookmark Button