Using MoveTo, lineTo and CreateEmptyMovieClip (Drawing Object)
I can't help being impressed with FlashMX. I just wish I could learn all the new stuff as fast as possible. I came across the drawing object... and ended up with this tutorial.
In the second part of this tutorial, I'll combine all this with the 'setInterval' method, and that's where the fun really start. So hang in there guys :-)
Where can you find the new DRAWING Methods?
If you take the actions panel, you will find them in Objects> Movie >
MovieClip > Drawing Methods.
They will allow you to draw basic objects from within the actions window. You will have a set of actions determining the form and position of the object you are creating, and you will use the 'createEmptyMovieClip' method to create a container that will hold the new drawing (compare it to an instance if you were to do things manually).
Try out this code in this interactive example:
In the next section I'll take you through the code...
|» Level Basic|
Rating: 7 Votes: 23
|MCT and Macrmedia Trainer and Designer|
|Download the files used in this tutorial.|
|Download (82 kb)|
|More help? Search our boards for quick answers!|