onClipEvent (load) {
_root.createEmptyMovieClip (box, 1);
_root.box.linestyle (2, 0xAAAAFF, 100);
_root.box.moveTo (100,100);
_root.box.lineTo (200,100);
_root.box.lineTo (200,200);
_root.box.lineTo (100,200);
_root.box.lineTo (100,100); }
When the movie clip initially loads, this creates an empty movie clip at depth 1 on the root level with the instance name box. It then draws an unfilled square with stroke thickness 2, opacity 100%, and color light blue, at 100x100 pixels and centered on the stage. (You should be familiar with the Flash drawing API for this.)


