This tutorial will teach you how to incorporate draggable scrolling and continuous feedback buttons to create OS-like scroll features in your Flash 5 movies. There is also a double-click feature that jumps to the top or bottom of the list. This is the first tutorial I have ever written, and instead of making it a creative lesson, I will just walk you through a finished FLA file and try to explain how it works. Like I mentioned above, these scroll features are applied to a movie clip, not a text field. I find this to be more useful, since the targeted movie clip itself could contain text fields, graphics, buttons, or whatever you like. All of this is done without a single ".scroll" action, and the meat of the functionality comes from Mick's draggable scroll concept.
* SPECIAL NOTE: Much of the Flash 5 code in this source file is Mick Herres' original work. I wrote to him, after completing his Flash 4 tutorial, to ask him how he would code the same functionality in Flash 5. He was kind enough to email me a source FLA optimized for Flash 5 draggable scrolling, which I have since built upon. Much of what I now understand about Flash 5 ActionScript (and object-oriented programming in general) I owe to Mr. Herres. The double-click feature was added to this tute at the last second, after he emailed me an even more functional version of my own FLA. I asked for Mick's permission to use his original code in this tutorial, so please, give props where they are due. Thanks Mick.
|» Level Intermediate|
Rating: 8 Votes: 94
|Me Like Flash 5. Flash 4 good. Flash 5 better.|
|Download the files used in this tutorial.|
|Download (229 kb)|
|More help? Search our boards for quick answers!|