03/15/2010 (5:20 pm)
Quick removeMC problem
this.swapDepths(6666666);
this.removeMovieClip();
}
The MC i'm tring to delete was not dynamically made. I heared i had to swap the depth to a positive # for the removeMovieClip(); command to work.
What did i do wrong?
thanx in advance:thumb2:
http://www.kirupa.com/developer/actionscript/depths2.htm
scotty(-:
Problem is that Flash doesn't have 6666666 depth levels but rather something closer to 16000, try this:
if (this.Delete == true) {
this.swapDepths(1928);
this.removeMovieClip();
}:cowboy:
creatify
#If you have any other info about this subject , Please add it free.# |