Flasher Archive

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


Subject: RE: [flasher] set .scroll text field without buttons?
From: Paul Willoughby
Date: Wed, 31 Jan 2001 11:44:06 -0000

It's certainly possible. Something like this pseudo-code should work:

:frame 1:
currentScroll = myTextField.scroll
If (currentScroll < myTextField.maxscroll{
myTextField.scroll = myTextField.scroll + 1
}else{
myTextField.scroll = 1
}

:frame 2:
gotoAndPlay(1)

This would scroll the text up one line per frame and reset when the text
field reaches its maximum scrolling point.
If that's not what you're after, maybe you'd like to post the offending
code?

hth

paul

> -----Original Message-----
> From: Catherine Kunicki [catcatdot [dot] com (mailto:catcatdot [dot] com)]
> Sent: 30 January 2001 21:44
> To: flasher from chinwag
> Subject: [flasher] set .scroll text field without buttons?
>
>
> Hi.
>
> I am trying to make a continually scrolling text field. when
> it reaches its
> maximum extent I want it to start over again.
>
> All of the examples I see using textfield.scroll involve the
> use of buttons.
>
> I have been trying to set the scroll with a two frame loop
> which tells the
> field to move up but nothing is happening.
>
> I wonder if I am just misunderstanding how this is supposed
> to work. Anybody
> got a suggestion?
>
> catherine
>



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