           } else {
               removeMouseEvents(this);
               if (cb) {
+                  removeChild(cb);
                   removeMouseEvents(cb);
-                  removeChild(cb);
                   this.clickbutton = null;
               }
-
           }
       }
 

                  // avoid security exceptions
                  if (info.parentAllowsChild) {
                      if (info.content is AVM1Movie) {
                          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) {
                          // store a reference for playback control
                          this.loaderMC = MovieClip(info.content);  
  
                          this.totalframes = this.loaderMC.totalFrames;
                          this.loaderMC.addEventListener(Event.ENTER_FRAME, updateFrames);
                          this.owner.resourceevent('play', null, true);

                  if (this.resourceContainer != null) {
                      this.removeChild(this.resourceContainer);
                  }

                  if (asset is InteractiveObject) InteractiveObject(asset).mouseEnabled = false;
                  if (asset is DisplayObjectContainer) DisplayObjectContainer(asset).mouseChildren = false;

                  this.resourceContainer = asset;
                  this.addChildAt(asset,IMGDEPTH);

