I followed the directions directly from flashkit but somewhere’s along the way i’ve gone astray. I cant figure it out and i really really dnt want to start from scratch…
First, I would like to say thank you for your email tut in the forums. I learned from it and still use it for reference all the time!!
Now, with your fla; I played with it for a little bit and found that I couldn’t even get the text to load into the text box!! ?? I would suggest using:
lv = new LoadVars();
lv.onLoad = function (success){
if (success){
_root.hostTxt.hosting.text = this.crap;
}
}
lv.load("hostingtxt.txt");
instead of LoadVariables. That may be one small prob. What exactly do you want to do? Just that textbox with a custom scroll bar??
Well, I figured out why I couldn’t see the text. I made a txt file to use, but the color of the text was set to white! :crazy:
Now, your code, I don’t understand it at all. If you put a trace on a or b, you get [object] and a bunch of zeros respectively. As you may have read once upon a time - I am very lazy. I would take the IU scroll component, connect it to the textbox (lose the movieClip) then open your library, open up the folder that says ‘Flash IU Component’ and you have all the movieClips that make up the scroll bar. Adjust the crap out of it!! I know it’s time consuming, but it’s a lot easier and you don’t have to do any of the code, Flash does it for you.
Granted, you won’t learn how to do it, but it is a solution.