# Go to a frame and play a certain frame in a movieclip?

**URL:** <https://forum.kirupa.com/t/go-to-a-frame-and-play-a-certain-frame-in-a-movieclip/268227>\
**Category:** flash\
**Created:** [August 11, 2008, 4:25pm UTC](https://forum.kirupa.com/t/go-to-a-frame-and-play-a-certain-frame-in-a-movieclip/268227 "2008-08-11T16:25:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![madfatter](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@madfatter](https://forum.kirupa.com/u/madfatter)\
**Post date:** [August 11, 2008, 4:25pm UTC](https://forum.kirupa.com/t/go-to-a-frame-and-play-a-certain-frame-in-a-movieclip/268227/1 "2008-08-11T16:25:03Z")

</div>

Hi,

This may be a really simple question but I’m trying to go to a frame on the timeline which has a movieClip object in it and then goto a specific frame in that movieClip and I can’t figure out how to code it. I thought something like:

gotoAndPlay(“movieClipframe”);  
this.theMovieClip.gotoAndPlay(“theFrame”);

but I get a null reference error.

Does anybody know what I’m doing wrong or if I’m?

Thanks for any advice
