Skip to main content
July 7, 2008
Question

Back to Top

  • July 7, 2008
  • 1 reply
  • 250 views
I have a file full of text; if this were html, I'd just make an iframe and in the frame, I'd have the text page with "back to top" links throughout. But since this is flash, I'm loading an external text file, and I'd like some "back to the top" links within it. I know how to do a "back to the top" in html, but it doesn't seem to work in a loaded text file in flash. What would you suggest? Thanks!
This topic has been closed for replies.

1 reply

robdillon
Participating Frequently
July 7, 2008
In AS2 you use the scroll property of the textfield to move the text, and the scrollV property in AS3. In either case you can move the text back to the top by setting the value of that property to 1.
July 7, 2008
Thanks for your response. I understand how to apply a scroll bar to the text, but I'm confused about what exactly is set to 1. Do I write "back to top" and somehow set that to 1? Sorry, I'm a beginner at this.