challenge
- use
trace() to write a message to yourself on the console
- try some simple math:
trace(35 / 7 + 3 * .5);
- try to trace out some properties of the Math object—what is the square root of 2?
- every movie clip (including the root level) has an instance of the Graphics class stored in a property called
graphics.
Try using some of its methods:
graphics.beginFill(0x00ff00);
graphics.drawRect(20, 50, 70, 100);
graphics.endFill();