Search tutorials
Introduction
This is a partial tutorial. I will cover the logic behind the working of the filtering list. If you are familiar with Flash the rest of the workings of this project will be relatively easy to grasp. There is a Sort button -- I have the alphabetical sort routine as a separate tutorial. It is only several lines of code in one frame. BUT it is one of my worst 200,000 calculation limit offenders. I believe that with two variables (the button name and the URL it links to) being sorted at a time you will find it crashes at around 90 items. That is why it is a separate option. To enable it permanently, simply delete the Sort button and set the variable 'alphabetize' that is in frame 1 of the main timeline to "1".On with the filtering links list. To start, you will find there are many embedded movie clips. This is necessary. To begin, the entire project is only one movie clip. Not only does this leave the project tidy and easier to copy and paste into other projects, but it also allows it to be a draggable object, which it is.
Inside this complete movie clip, you will find several objects. The only one of importance is the 'weblinks' object. This contains both the interface that allows the user to type into and also the 'scrolltarget'. Just like we needed a separate object to enable 'dragging', we need a separate object to 'scroll'. Inside the 'scroll' object, we find an object called 'allbuttons', which is a container to hold all the buttons. (There is only one button until the script runs and starts duplicating them).
| » Level Advanced |
|
Added: 2000-05-01 Rating: 9 Votes: 113 |
| » Author |
| Flashjunkie is a self-professed obsessive addict of life. Due to the highly artistic nature required of an Art Director for an Ad agency, he took up Flash to add some math to his diet |
| » Download |
| Download the files used in this tutorial. |
| Download (96 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!