1 Reply Latest reply on Aug 30, 2007 3:28 PM by SymTsb

    closing a popup movie clip in firefox

    melissa_v
      I am still using AS2.0 (I will get with the times eventually), and I have a series of links on my webpage that create empty movie clips and load SWFs into them. I have a button (a typical little "x" in the corner) that should close these clips, and it works when I preview it in Flash, but when I take it into Firefox or another browser, it won't close.

      The code that I place to load the movie clips is:

      on(release){
      _root.createEmptyMovieClip("empty3", 1001, 250, 150)
      _root.empty3.loadMovie("projects/DIH/DIHlearnMore.swf");
      _root.empty3._x=70
      _root.empty3._y=65
      }


      The code I place on the "x" buttons to close these popup clips is:

      on(release){
      _root.empty3.swapDepths(0);
      _root.empty3.removeMovieClip();
      }


      Any ideas, friends??