 
             if (_media is Loader) {
                 var loader :Loader = (_media as Loader);
-                var url :String = loader.contentLoaderInfo.url;
+                //var url :String = loader.contentLoaderInfo.url;
 
                 // remove any listeners
                 removeListeners(loader.contentLoaderInfo);

                dispatchEvent(new Event(Event.UNLOAD));

                removeChild(loader);
                var extra :String  = (url == _url) ? "" : (", _url=" + _url);
                log.debug("Unloaded media [url=" + url + extra + "].");

            } else if (_media is SimpleVideoDisplay) {
                var vid :SimpleVideoDisplay = SimpleVideoDisplay(_media);

                removeChild(_media);
            }
        } catch (ioe :IOError) {
            log.warning("Error shutting down media", ioe);
        }

        // clean everything up
