• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Q&A

Q1:What about the scrollbar component that comes with Flash MX? Wouldn't it be easier to use that instead of writing my own scripts?
A1: Yes. You don't have to learn how to drive if the bus can take you where you want to go. But if you want to learn how to make your own custom ActionScript scrollbar, you'll need to learn these things. However, if the component scrollbar works in a particular situation, you can use that.
Q2:Can I create a horizontal scrollbar with this method?
A2: Definitely! All you have to do is find the corresponding horizontal properties of the text field and make some changes to the code. Most of what you need is in this chapter if you understand the concepts.
Q3:How about images? Can I use this to make scrolling images?
A3: Yes, but it is not as easy. You can't use scroll or maxscroll, but instead need to modify the location of the movie clip. You will also have to mask the portion of the scrolling movie clip that you don't want seen. It is not an easy task, and a bit beyond the scope of this book, but you now have the basic building blocks.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint