What is wrong with this code?

Hi!

I have an as file with this code:


package
{
    import flash.display.MovieClip;
    import fl.transitions.*;
    import fl.transitions.easing.*;
    import flash.events.MouseEvent;
    
    public class teste extends MovieClip
    {
        private var img : image1;
        
        public function teste()
        {
            init();
        }
        
        private function init():void
        {
            img = new image1();
            img.addEventListener(MouseEvent.MOUSE_OVER,onMouseOver);
            TransitionManager.start(img1, {type:Zoom, direction:Transition.IN, duration:1, easing:Bounce.easeOut});
        }
        
        private function onMouseOver(e:MouseEvent):void
        {
            TransitionManager.start(img1, {type:Zoom, direction:Transition.IN, duration:1, easing:Bounce.easeOut});
            
        }
    }
}


image1 is a movie clip that I right clicked and chose linkage and checked export to actionscritp.

and in my flash application I have put teste in the document class.Everything runs fine except that The image1 does not do anything when I mouse over it.

What is wrong with this code?