  */
 public class FrameSprite extends Sprite
 {
-    public function FrameSprite ()
+    /**
+     * @param renderFrameUponAdding if true, the handleFrame() method
+     *        is called whenever an ADDED_TO_STAGE event is received.
+     */
+    public function FrameSprite (renderFrameUponAdding :Boolean = true)
     {
+        _renderOnAdd = renderFrameUponAdding;
+
         addEventListener(Event.ADDED_TO_STAGE, handleAdded);
         addEventListener(Event.REMOVED_FROM_STAGE, handleRemoved);
     }

    {
        // nothing here. Override in yor subclass.
    }
}

}

    protected function handleAdded (... ignored) :void
    {
        addEventListener(Event.ENTER_FRAME, handleFrame);
        if (_renderOnAdd) {
            handleFrame(); // update immediately
        }
    }

    /**
