all groups > flash actionscript > december 2004 >
You're in the

flash actionscript

group:

Using MX 2004 UI Scrollbar with external text


Using MX 2004 UI Scrollbar with external text fanmap81
12/28/2004 11:25:56 PM
flash actionscript: I dont know if im dumb or what, but this is getting extremely aggravating. How
do I load external scrolling text using the UI Scrollbar component in mx 2004?
I can get the text to load into the textbox, but the arrows wont show up nor
the thumb, so im not able to scroll the text. This is the code im using:
loadVariables('textbox.txt',''); where the name of the textbox is textBox, the
text file is named textbox.txt, and the variable name in the text file is
textboxx. Im getting upset because when i used this code in mx with the plain
scrollbar component, it worked fine. Now theres a problem since im using 2004
now. I even tried the code from kirupa.com loadText = new loadVars();
loadText.load('kirupa.txt'); //creating the loadVarsText function
loadText.onLoad = function() { scroller.text = this.kirupatext; }; where
scroller is the name of the textbox, the text file is kirupa.txt, and the
variable is kirupatext. Still no luck. Is it that this component is busted
or am I missing something important here? Any information regarding the above
would be most apreciated. Thanks
Re: Using MX 2004 UI Scrollbar with external text lusalry
1/23/2005 11:39:21 PM
Re: Using MX 2004 UI Scrollbar with external text lusalry
1/23/2005 11:39:36 PM
AddThis Social Bookmark Button