The news blog on the left, how did they make their scroller scroll that fast, and how would you go about creating a custom scroll bar that is fast scrolling like that. I found out that hes using this LoadVars code on the maintimeline and loading that news.txt into that "text_box" MC which holds the dynamic textfield & 2 up & down buttons:
loadVariables("news.txt","_root.text_box");
And here's the AS for the buttons below
"Uparrow" button:
on (press, keyPress "<Up>")
{
up = "1";
}
on (release, releaseOutside, rollOut)
{
up = "0";
}
--------------------------------------
"Down" button:
on (press, keyPress "<Down>")
{
down = "1";
}
on (release, releaseOutside, rollOut)
{
down = "0";
}
And also the dynamic textfield has a var inside it named "textField", oddly I recreated what he did and it didnt work
If anyone knows of a good .fla or tutorial of this, please let me know, thnx for the help !
I also found out that the MC thats being used as a placeholder for everything is named "text_box", it holds the buttons & dynamic textfield has this coding on it:
onClipEvent (enterFrame)
{
if (down == "1")
{
this.textField.scroll = this.textField.scroll + 1;
} // end if
}
onClipEvent (enterFrame)
{
if (up == "1")
{
this.textField.scroll = this.textField.scroll - 1;
} // end if
}