WOW!

I never knew Flash would not remove _mcs with negative depth. I just tried it and it and it won't work. I guess you learn something new every day.

import flash.geom.Rectangle
import flash.display.BitmapData

_mc = _root.createEmptyMovieClip("rect_mc",30000);
_bdm = new BitmapData(300,200,false,0xFF0000);
_mc.attachBitmap(_bdm,0);

_mc.onPress = function(){
   trace("removing")
   this.removeMovieClip();
}

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to