I just started playing Actionscript 3.o. And I got some problem with Evnts. My code looks like something like this. My movieClip Class is like this. package{ import flash.display.MovieClip; import flash.events.Event; public class MC extends MovieClip { var val=1; var _o; public function MC() { _o=this; _o.addEventListener(Event.ENTER_FRAME,onLoop); } private function onLoop(e:Event) { trace(val); val++; } } } It's the code in the main.fla b1_btn.addEventListener(MouseEvent.MOUSE_DOWN,clicked); var m:MC=new MC(); addChild(m); function clicked(e:MouseEvent) { removeChild(m); m=null; } The problem i get is with enterframe. After removing the Movieclip from the stage, enterframe don't stop it's working. So i posted this in forums. It's the problem of garbage collection. Till now am playing with Actionscript 2.0 i never think about the garbage collection. The solution is to remove listeners manually or just use REMOVED_FROM_STAGE or REMO...