How to detect a mouseOver a movieclip?

I want to have an event with a movieclip like with a button…
“on (mouseOver) {
whatever };”
how can i detect the mouse over the movie clip without it being a button?

thanks for your comments.

well lets say you have a movie clip on the stage with the instance name “myMC”.

You can use the following AS to detect a rollOver:

myMC.onRollOver = function()
{
    //whatever you want to happen when you roll over "myMC" movie clip
}

with mx2004 u can simply do on(rollOver) {} on the mc as if it was a button

you can do that too :wink:

thanks for the help :slight_smile: much love to these forums.