PDA

View Full Version : using txt files along with a scrollbar (component)


jalaw
05-02-2002, 05:55 PM
Well, I've searched around for the answer to my problem, and haven't found any solutions. If this has already been discussed please accept my apologies.

I want to use external txt files on my flash page, and one of them will need to be scrolled. I have tried to target the text field from the scrollbar, (MX, so it's a component) but haven't had any luck. I have a feeling it's something simple that I'm overlooking. Could someone please lend some assistance. Maybe if you could show me the code, I'll be able to get things sorted out. Thanks very much for any help.

jimburton
05-02-2002, 08:00 PM
what you need to know is here (http://www.actionscripts.org/tutorials/intermediate/scrolling_a_text_box/index.shtml) and here (http://www.actionscripts.org/tutorials/intermediate/scrolling_a_text_box_II/index.shtml) - these tutorials don't deal with MX or components but cover the code you need to do it yourself

jalaw
05-03-2002, 01:15 PM
Yes, I already know how to do that. And I've seen those tutorials, (hence the use of the word "searched" in my post). I wouldn't post a question without first looking at the tutorials now would I? Thanks for assuming I'm an idiot.

I will ask again:

Does anyone know how to use a COMPONENT scrollbar to target a text field which uses an external txt file?

jimburton
05-03-2002, 01:54 PM
keep your wig on jalaw. :)