How to use the UIScrollBar component in Flash
October 11th, 2008 | Author: Luka | Category: Basics
In this easy and detailed Flash lesson, I will show you how to use the scrollbar component that it is ready-made for use in Flash. This can save you a lot of coding — why create a scrollbar from scratch when you have one at your disposal? You will learn the following:
How to set up a dynamic text field,
How to display text in a dynamic text field via some really simple ActionScript code,
How to set up an instance of the UIScrollBar component and link it to your text field and more.
Below is a live Flash example that displays a text field with a scrollbar attached next to it. Try pressing the up and down arrow buttons on the scrollbar or clicking the scroller and dragging it up and down. The text inside the field will scroll flawlessly.
http://flashexplained.com/basics/how-to-use-the-uiscrollbar-component-in-flash/
0 comments:
Post a Comment