                   // avoid security exceptions
                   if (info.parentAllowsChild) {
                       if (info.content is AVM1Movie) {
-                        if ($debug) {
+                          if ($debug) {
                               Debug.warn("Playback control will not work for the resource.  Please update or recompile the resource for Flash 9.", this.resource);
                           }
                       } else if (info.content is MovieClip) {

          // These progress event listeners can only be installed after the init event
          // has been received. You get an error if you try to add them before this.
          var loader:Loader = Loader(event.target.loader);
          event.target.content.smoothing = true;
          var info:LoaderInfo = LoaderInfo(loader.contentLoaderInfo);
          info.addEventListener(ProgressEvent.PROGRESS, loaderEventHandler);
          info.addEventListener(Event.OPEN, loaderEventHandler);

                // throws an error if stream has already finished loading
            }
            // unload any content, call after close()
            if ($swf10) {
                this.imgLoader['unloadAndStop']();
            } else {
                this.imgLoader.unload();
            }
        }
        if (this.resourceContainer != null) {
            this.removeChild(this.resourceContainer);
