# \[AS3\] Child MC's null after gotoAndStop?

**URL:** <https://forum.kirupa.com/t/as3-child-mcs-null-after-gotoandstop/212999>\
**Category:** flash\
**Created:** [January 16, 2007, 7:40am UTC](https://forum.kirupa.com/t/as3-child-mcs-null-after-gotoandstop/212999 "2007-01-16T07:40:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skatehead](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@skatehead](https://forum.kirupa.com/u/skatehead)\
**Post date:** [January 16, 2007, 7:40am UTC](https://forum.kirupa.com/t/as3-child-mcs-null-after-gotoandstop/212999/1 "2007-01-16T07:40:17Z")

</div>

hi, ive been browsing these forums for a while and ive finally come across a problem i cant already find an answer to

i have a movieclip called hero, which on every frame has a movieclip called ‘mc’, which in every frame has a mc called ‘sword’

problem is, on the first frame after i change frame (like from the idle animation to attack) ‘mc’ traces null, so i cant access ‘sword’ either, which is a bit of a problem for the design of the game…  
the frame after i change tho, ‘mc’ and ‘sword’ can both be accessed fine

does anyone know a way around this, i dont remember having this problem in as2, tho i might not have ever tried to access children after a gotoAndStop tho

thanks alot, these forums have been very helpful already 🙂
