 
 package {
 
+import flash.display.Bitmap;
+import flash.display.BitmapData;
 import flash.display.Sprite;
 
 import flash.events.ContextMenuEvent;

            text += line;
        }
        _field.text = text;
        _field.setTextFormat(format);
        _field.x = (loaderInfo.width - _field.width) / 2;
        _field.y = (loaderInfo.height - _field.height) / 2;

        // add the context menu to change colors
        contextMenu = new ContextMenu();

            for (var kk :int = 0; kk < captions.length; kk++) {
                if (captions[kk] == caption) {
                    _field.textColor = colors[kk];
                    _highlightData.fillRect(_highlightData.rect, colors[kk]);
                    contextMenu.customItems[kk].enabled = false;
                } else {
                    contextMenu.customItems[kk].enabled = true;
