     protected function willShowNewMedia () :void
     {
         _initialized = false;
+        _isImage = false;
     }
 
     /**

    protected function getContext (url :String) :LoaderContext
    {
        if (isImage(url)) {
            // load images into our domain so that we can view their pixels
            return new LoaderContext(true, 
                new ApplicationDomain(ApplicationDomain.currentDomain),

        // if we're holding a bitmap, do something smarter than the
        // flash built-in and actually check for *GASP* transparent pixels!
        try {
            // We should be able to test if the media is a Loader (we can),
            // then test if childAllowsParent, but even CHECKING that value causes a security
            // exception. WTF?!? That's supposed to be the value to check to AVOID getting a
            // security exception. So instead, we track whether or not we've
            // loaded an image and use that value.
            if (shapeFlag && _isImage) {
                var b :Bitmap = Bitmap(Loader(_media).content);
                var p :Point = b.globalToLocal(new Point(x, y));
                // check that it's within the content bounds, and then check the bitmap directly
