PDA

View Full Version : Scrolling Text, except it doesn't scroll


rahota
12-22-2001, 03:02 AM
Ok, I am trying to setup some simple scrolling text. I read several of the tutorials, and have tried 3-4 different variations. The resultes I get with each method is this. When I click the button to scroll, it only scrolls 1*amount of change to scroll. So if I have scroll++, it moves once, and never moves again, no matter how long the button is held, or how many times it is pressed.(Like I said, tried multiple methods.)

I am not sure what I am doing wrong. Right now, since all of my results have been the same, I am using the simplest code. If anyone knows of an error like this, or knows what I am doing wrong, I would appreciate the help.

Here is the simplest code which does the same as the rest as far as my results go.

on (press) {
News.scroll=News.scroll+1;
Dates.scroll=Dates.scroll+1;
}

If I change the 1 to +5 it will scroll 5 lines, but only when the you are at the top of the text. So i can hit down, then up and down again and it will work again. I suck at explaining things, and I have a massive headache from somthing probably so simple giving me such hell. So I hope I am clear enough. Thanks ahead of time.

rahota
12-22-2001, 03:30 AM
Ok, it appears to work right if I publish to HTML, but not if i run a test from flash. Go figure.

nic
12-24-2001, 12:16 AM
Always test your gear in html... a good plan!