TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

please help me out with this

Page: 1 Reply
Aug 4th 2002#62934 Report
Member since: Dec 24th 2001
Posts: 222
ok this script was in a scroller tutorial at flashkit.com which is list below and this script is explained but i still dont understand exactly what it does... how it works.... its purpose? so i would like one of you flash gurus to explain it to me...
onClipEvent (load){
daTextBox = "Insert text here";
scrolling = 0;
frameCounter = 1;
speedFactor = 3;
}
onClipEvent (enterFrame){
if( frameCounter % speedFactor == 0){
if( scrolling == "up" && daTextBox.scroll > 1){
daTextBox.scroll--;
}
else if( scrolling == "down" && daTextBox.scroll < daTextBox.maxscroll){
daTextBox.scroll++;
}
frameCounter = 0;
}
frameCounter++;
}

http://www.flashkit.com/tutorials/Interactivity/Useability/ActionSc-Patrick_-629/more4.shtml
Reply with Quote Reply
Aug 4th 2002#62941 Report
Member since: Aug 9th 2001
Posts: 2333
good god, it's so complex. Go to my site, go through the news text box on the right, the actual file for the scroller is linked in there, around halfway down, it's much more easier to use than this. (http://cyblingdesign.com) Good luck.
Reply with Quote Reply
Aug 4th 2002#62946 Report
Member since: Dec 24th 2001
Posts: 222
im thought all scroll bars where that hard but thakfully i guess not anyways i cant find your link you just post it?
Reply with Quote Reply
Aug 4th 2002#62949 Report
Member since: Aug 9th 2001
Posts: 2333
Because it's flash, i can't link to it....

go to my site, scroll down to 'News 28/4/02
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum