AS3->AS2, need help understanding mouse events

I’m used to AS3 and it’s event handling system. Now I have to do some work with AS2, and I don’t understand how the event system works. I’m using the following code to test:


-------------------------------
var images:Array = ["apple.jpg", "banana.jpg", "cherry.jpg", "cranberry.jpg", "lemon.jpg", "lime.jpg", "orange.jpg", "pear.jpg", "strawberry.jpg", "watermelon.jpg"];
var length = images.length;
for(var i = 0; i < length; i++)
{
    var url:String = "images/" + images*;
    var movieClip:MovieClip;
    movieClip = createEmptyMovieClip("mc" + i, i);
    movieClip.buttonMode = true;
    movieClip.enabled = true;
    movieClip._x = i % 5 * 50;
    movieClip._y = Math.floor(i/5) * 50;
    movieClip.onMouseMove = onMouseMoveHandler;
    movieClip.loadMovie(url);
}

function onMouseMoveHandler():Void
{
    trace("heeei" + Math.random());
}
-------------------------

This all loads the corresponding images and places them correctly on the stage. However, nothing seems to happen with the events. I’ve been reading the API documentation and looking for online tutorials, but I’m stuck unfortunately :frowning:

Any help would be greatly appreciated!