# Play movieclip on enter frame

**URL:** <https://forum.kirupa.com/t/play-movieclip-on-enter-frame/284155>\
**Category:** Uncategorized\
**Created:** [March 16, 2009, 4:12am UTC](https://forum.kirupa.com/t/play-movieclip-on-enter-frame/284155 "2009-03-16T04:12:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lndlyb4](https://avatars.discourse-cdn.com/v4/letter/l/c77e96/32.png) [@lndlyb4](https://forum.kirupa.com/u/lndlyb4)\
**Post date:** [March 16, 2009, 4:12am UTC](https://forum.kirupa.com/t/play-movieclip-on-enter-frame/284155/1 "2009-03-16T04:12:38Z")

</div>

Hi there,

I am trying to play a simple movie clip when the playhead gets to a frame label called “home”. The moveclip is called “playRollClick”. I am trying to write this in as3.

The code below is what I’ve come up with so far, but it doesn’t seem to work.

thanks in advance

addEventListener(Event.ENTER\_FRAME,playRollClick);

function playRollClick(event:Event) {

rollClick\_mc.play();

}
