Problem with classes and loadMovie

i got this code, and i have no problem loading the picture, but if i run the onEnterFrame, after loading the movie stops???, could someone explain me, how can i prevent this, to don’t stop the onEnterFrame.

thanks in advance

   public function MovieClipUtils (path:String) {
       lMovie(path);
    }
    
    public static function lMovie (path) {
       var m_empty:MovieClip = _root.createEmptyMovieClip ("m_empty", 100);
       m_empty._x = 100;
       m_empty._y = 100;
       m_empty.loadMovie(path);
       
        m_empty.onEnterFrame=function(){
           
           trace("something")
           
           }
       
    }
}