dynamic flash txt + scrollbar
- Started
- Last post
- 3 Responses
- flashsplat
Hey All,
I'm trying to get a .txt file to load into a dynamic text field in flash, and utilize the scrollbar component to scroll through it.
For some reason the scrollbar component won't work this way. It does work if I manually add the content to the dynamic text field while in flash. If I want to update the content rather frequently I don't want to have to modify the .swf every time.
Any solutions?
- SirG0
You should give the textfield an instance name instead of a variable name. Then load the txt variabel in the textfield as such:
text = "This is loaded from the textfile";
textFieldInstance_tf.text = text;That should do the trick.
More info on:
http://www.macromedia.com/suppor…
- flashsplat0
Hey thanks SirG! I spent so much time tinkering by myself, and I had it all wrong.
D'oh!
- SirG0
You're welcome