# Targeting root / nextFrame in AS3

**URL:** <https://forum.kirupa.com/t/targeting-root-nextframe-in-as3/258638>\
**Category:** Uncategorized\
**Created:** [April 25, 2008, 10:35pm UTC](https://forum.kirupa.com/t/targeting-root-nextframe-in-as3/258638 "2008-04-25T22:35:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradleykal](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bradleykal/32/1447_2.png) [@bradleykal](https://forum.kirupa.com/u/bradleykal)\
**Post date:** [April 25, 2008, 10:35pm UTC](https://forum.kirupa.com/t/targeting-root-nextframe-in-as3/258638/1 "2008-04-25T22:35:33Z")

</div>

wow, AS3 is KILLING my brain.  
trying to simply create one swf that is going to animate, and at the end of it’s animation, tell it’s parent clip to nextFrame()… The SWF in question has been loaded using URLRequest, but errors when published.

this is what I think should work:  
MovieClip(root).nav.nextFrame();

but I get the following error when trying to publish:  
1120: Access of undefined property nav.
