       }
 
       var __contextmenu;
+      var __bgcolorhidden:Boolean = false;
 
       /* LzSprite.setContextMenu
        * Install menu items for the right-mouse-button 

              // TODO [hqm 2008-04] make this do the more complex stuff that swf8 LzSprite does now,
              // where it checks for a resource or bgcolor sprite, in order to make the clickable region
              // match what the user expects.


              // "contextMenu" is a swf9 property on flash.display.Sprite
              this.contextMenu = cmenu;

              this.graphics.clear();
          } else {
              this.graphics.clear();
              var alpha:Number = this.__bgcolorhidden ? 0 : 1;
              this.graphics.beginFill(this.bgcolor, alpha);
              this.graphics.drawRect(0, 0, this.lzwidth, this.lzheight);
              this.graphics.endFill();
          }
