# From AS2 to AS3 - On rollOver (play)

**URL:** <https://forum.kirupa.com/t/from-as2-to-as3-on-rollover-play/310027>\
**Category:** Uncategorized\
**Created:** [May 30, 2010, 5:43pm UTC](https://forum.kirupa.com/t/from-as2-to-as3-on-rollover-play/310027 "2010-05-30T17:43:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jspark11](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jspark11](https://forum.kirupa.com/u/jspark11)\
**Post date:** [May 30, 2010, 5:43pm UTC](https://forum.kirupa.com/t/from-as2-to-as3-on-rollover-play/310027/1 "2010-05-30T17:43:19Z")

</div>

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
