# Buttons within an externally loaded .swf

**URL:** <https://forum.kirupa.com/t/buttons-within-an-externally-loaded-swf/192733>\
**Category:** flash\
**Created:** [June 30, 2006, 4:25pm UTC](https://forum.kirupa.com/t/buttons-within-an-externally-loaded-swf/192733 "2006-06-30T16:25:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filmguy15](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@Filmguy15](https://forum.kirupa.com/u/Filmguy15)\
**Post date:** [June 30, 2006, 4:25pm UTC](https://forum.kirupa.com/t/buttons-within-an-externally-loaded-swf/192733/1 "2006-06-30T16:25:04Z")

</div>

I am working on a site that has a root .swf file. Within that, the buttons load external, smaller .swf’s for the content, etc… In one of those .swf’s, I have a button that needs to open a pop-up window. I followed the “Centered Pop-up” tutorial on this site, but the button does not work when loaded from the root swf. It does however, if I create an html file with just the external .swf loaded, without the main page. What do I need to add in the AS to make the button work outside of the swf? Thanks alot!

-Chase
