We do this by adding an if statement before any actions that take place in the onClipEvent handlers, to test to see if the value of the variable layerzero is true. If its not, then no drawing will take place, because all of the drawing commands should be nested inside that if statement.
There must be a separate if statement inside each onClipEvent handler (Load, enterFrame, mouseDown, mouseMove, mouseUp).


