From AS2 to AS3 - On rollOver (play)

Hi everyone,

I used to use flash is AS2. Now in AS3 I can’t put any code on a movieclip. I used to for example put code on a movieclip so that onrollover it would simply play what was in it.

How can I achieve this without putting code on the movieclip itself?

Thanks!!!

JS

note: I’m a beginner so user-friendly would be great