2 Replies Latest reply on Mar 24, 2008 9:52 AM by addybombaddy

    How do i get rid of symbols

    addybombaddy Level 1
      Hi,
      i have used this code to place a symbol on the canvas as a frame loads:
      this.attachMovie("symPanda8", "choice1d", this.getNextHighestDepth(), {_x:217, _y:230, _width:150, _height:151.4});

      so how can i get rid of it when i have finished with it? i have tried a blank new key frame in the next frame and have tried choice1d.visible = false; but they don't seem to work, the only way i can seem to get rid of it is by setting the alpha to zero and disabling it! but i don't want to do it that way, would prefer it to just go!!!!!!

      would be grateful for any suggestions!

      thank you
        • 1. Re: How do i get rid of symbols
          Level 7
          Hello addybombaddy,

          > Hi,
          > i have used this code to place a symbol on the canvas as a frame
          > loads:
          > this.attachMovie("symPanda8", "choice1d", this.getNextHighestDepth(),
          > {_x:217,
          > _y:230, _width:150, _height:151.4});
          > so how can i get rid of it when i have finished with it? i have tried
          > a blank new key frame in the next frame and have tried
          > choice1d.visible = false; but they don't seem to work, the only way i
          > can seem to get rid of it is by setting the alpha to zero and
          > disabling it! but i don't want to do it that way, would prefer it to
          > just go!!!!!!
          >
          > would be grateful for any suggestions!
          >
          > thank you


          Try:

          removeMovieClip(this.choice1d);


          or if you need to clean the whole holder:

          for(var i in this){
          if(typeof(i) == "movieclip") removeMovieClip(this );
          }


          • 2. Re: How do i get rid of symbols
            addybombaddy Level 1
            thank you, it worked,