public virtual void bubbleEvent(AsEvent _event)
        {
            AsVector <AsEventDispatcher> chain = null;
            AsDisplayObject element            = this as AsDisplayObject;
            int             length             = 1;

            if (sBubbleChains.getLength() > 0)
            {
                chain    = (AsVector <AsEventDispatcher>)(sBubbleChains.pop());
                chain[0] = element;
            }
            else
            {
                chain = new AsVector <AsEventDispatcher>();
            }
            while ((element = element.getParent()) != null)
            {
                chain[length++] = element;
            }
            int i = 0;

            for (; i < length; ++i)
            {
                bool stopPropagation = chain[i].invokeEvent(_event);
                if (stopPropagation)
                {
                    break;
                }
            }
            chain.setLength(0);
            sBubbleChains.push(chain);
        }
        public static AsTexture getTexture()
        {
            AsBitmapData bmpData  = new AsBitmapData(BITMAP_WIDTH, BITMAP_HEIGHT);
            AsByteArray  bmpBytes = new AsByteArray();
            int          numBytes = (int)(BITMAP_DATA.getLength());
            int          i        = 0;

            for (; i < numBytes; ++i)
            {
                bmpBytes.writeUnsignedInt((uint)(BITMAP_DATA[i]));
            }
            bmpBytes.uncompress();
            bmpData.setPixels(new AsRectangle(0, 0, BITMAP_WIDTH, BITMAP_HEIGHT), bmpBytes);
            return(AsTexture.fromBitmapData(bmpData, false));
        }