# Can't play gotoAndPlay with parent in AS3

**URL:** <https://forum.kirupa.com/t/cant-play-gotoandplay-with-parent-in-as3/331803>\
**Category:** Uncategorized\
**Created:** [October 24, 2013, 2:32pm UTC](https://forum.kirupa.com/t/cant-play-gotoandplay-with-parent-in-as3/331803 "2013-10-24T14:32:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilana\_Raif](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@Ilana\_Raif](https://forum.kirupa.com/u/Ilana_Raif)\
**Post date:** [October 24, 2013, 2:32pm UTC](https://forum.kirupa.com/t/cant-play-gotoandplay-with-parent-in-as3/331803/1 "2013-10-24T14:32:25Z")

</div>

Hello . I’m trying to create a flash file with parent gotoAndPlay to make one MC controll another MC in AS3.  
Could someone please check imy file out and tell me what I’m doing wrong?

when I publish the file I see this error messege every time I click a button:  
ReferenceError: Error #1074: Illegal write to read-only property stage on flash.display.MovieClip.  
at flash.display::Sprite/constructChildren()  
at flash.display::Sprite()  
at flash.display::MovieClip()
