# Controlling imbedded swf with it's own button

**URL:** <https://forum.kirupa.com/t/controlling-imbedded-swf-with-its-own-button/235706>\
**Category:** flash\
**Created:** [August 14, 2007, 5:01am UTC](https://forum.kirupa.com/t/controlling-imbedded-swf-with-its-own-button/235706 "2007-08-14T05:01:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![poe](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@poe](https://forum.kirupa.com/u/poe)\
**Post date:** [August 14, 2007, 5:01am UTC](https://forum.kirupa.com/t/controlling-imbedded-swf-with-its-own-button/235706/1 "2007-08-14T05:01:27Z")

</div>

[FONT=Times New Roman][SIZE=3]I’m trying to control a swf that’s loaded in to an empty movieclip which is the main page). [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]This external file has a movie clip on the main stage in side the movie clip is a button that navigate with that timeline not the root but the timeline of the moviclip.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]When I test the file buy it self it works fine using this script[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]On (release){[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]This. Name of movie clip.play();[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]gotoAndPlay(5);[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]But when I load this swf file to the Maine swf nothing happens[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Can this even be done, place help[/SIZE][/FONT]
