PDA

View Full Version : Scrolling 'Internal' Text


simontheak
07-24-2002, 11:00 AM
I can scroll text without a problem when I load it from an external text file. What I want to know is whether it's possible to scroll a text box (which I presume has to be a Dynamic Text box ... but I could be wrong!!) with text that isn't loaded from an outside source - i.e text which I've typed in Flash itself.

I have done a search on this, but the only thing that came up was a tutorial request which no one had answered ... so I thought I'd try again.

I'd be really grateful for any help,

Thanks,

Si:rolleyes:

Jesse
07-24-2002, 11:10 AM
Provided you use a dynamic field the method should be the same. But you don't physically type in the field to set the value you enter a variable name for the field then set that variable's value using actionscript.

simontheak
07-24-2002, 11:29 AM
Oh ok - I getcha. That would be where I was going wrong then. I was typing directly in to the box.

Thanks Jesse

Kahlil
08-01-2002, 02:53 AM
ok I quite dont get what u mean text u type in Flash itself.. you mean static text? or dynamic?

anyway this code help me to do the scroll.

on (release){
box.scroll--;
}

for Up arrow

on (release){
box.scroll++;
}

for down arrow

obviously box is the textfield. I have the feeling this is not what u wanted but maybe it is.