# {FMX} \_parent action doesn't work for SWF

**URL:** <https://forum.kirupa.com/t/fmx--parent-action-doesnt-work-for-swf/17258>\
**Category:** flash\
**Created:** [April 3, 2003, 5:23am UTC](https://forum.kirupa.com/t/fmx--parent-action-doesnt-work-for-swf/17258 "2003-04-03T05:23:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cybergold](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@cybergold](https://forum.kirupa.com/u/cybergold)\
**Post date:** [April 3, 2003, 5:23am UTC](https://forum.kirupa.com/t/fmx--parent-action-doesnt-work-for-swf/17258/1 "2003-04-03T05:23:02Z")

</div>

Hi 🙂 I have a movie load an SWF into a movie clip, in that SWF there is a button which tells a movie clip to .play, the movie clip inside that swf is called “clip”. i have on that button \_parent.clip.play();  
}

Why is this not working, i have a website due in 2 days, can anyone help me out? Thanks 😏

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2003, 7:14am UTC](https://forum.kirupa.com/t/fmx--parent-action-doesnt-work-for-swf/17258/2 "2003-04-03T07:14:13Z")

</div>

loadedSwf - button1  
|  
movie

oops…

```auto

on(release){
    _parent.gotoAndPlay();
}

```

\_parent is a reference to the timeline which contains the object that this code is on. In this case, \_parent refers to “loadedSwf” movie clip in my diagram.  
You could also do  
“\_parent.\_parent.gotoAndPlay();” to make the main timeline do something.
