Search tutorials
The Triangle (con't)
Frame 2 locks the ability of the drag to the "x" position and more importantly to a maximum of "200":
Comment: Slider is drag locked to 0,0,0,200 - this means that at 100% of the slider you are at a real location of 200. Which is why 200 plays a prominent role in all these calculations. Set Variable: "X" = GetProperty ( "", _x) Set Variable: "/:delay" = ((X/200)*(max-min))+min Comment: "..:delay" is the variable text box that shows us what "/:delay" is set to. Set Variable: "..:delay" = Int(/:delay)
Frame 3 does not contain button:zoomer but simply loops back to frame 2 and plays it. That it for the triangle button. Your timeline should resemble the picture below at this point

| » Level Advanced |
|
Added: 2000-05-25 Rating: 6 Votes: 40 |
| » 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 (100 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!