Buttons, Line & Stuff
The buttons
![]()
Now just create a simple button. It's only for the rotations and the zoom so you don't even need any second states.
Now then again if you want to make it fancy, go ahead, no one will stop you.
Place 8 instances of this button on the buttons layer, towards the bottom of the movie. We'll define their actions later.
The line

This part is a bit more important since it determines whether your lines will be drawn correctly or not.
Create a new movie clip and name it baseline. In it, draw a simple black line directed from the top
left to the bottom right. Then select this line and set its length to 100px and its width to 100px.
Now you should have a line that's oriented 45° downwards. Also, the good thing about it is that it's lenght in pixels
is equal to its length in percent, so you can easily set its size with SetProperty.
Now place one instance of this line on the lines layer. Name it baseline.
The extra stuff
Just add some simple stuff such as a title, your name and preferably mine too (or some kind of a small note saying
"original idea by KStor, but now my much better version" etc.)
Also add an editable text-field. Name the corresponding variable zoomvalue. This will be used to display the
value of the zoom.
| » Level Advanced |
|
Added: 2000-12-04 Rating: 9 Votes: 2631 |
| » Author |
| KStor is a student living in France and working with Flash during his free time...that is, not very much. |
| » Download |
| Download the files used in this tutorial. |
| Download (39 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!