# Controlling Main Swf with External Swf

**URL:** https://forum.kirupa.com/t/controlling-main-swf-with-external-swf/295276
**Category:** flash
**Created:** [August 27, 2009, 3:04pm UTC](https://forum.kirupa.com/t/controlling-main-swf-with-external-swf/295276 "2009-08-27T15:04:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sanaali](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sanaali](https://forum.kirupa.com/u/sanaali)
#### Post date: [August 27, 2009, 3:04pm UTC](https://forum.kirupa.com/t/controlling-main-swf-with-external-swf/295276/1 "2009-08-27T15:04:51Z")

</div>

Hi,

I had a question. My main flash file is setup with a scroll pane component. The scroll pane is loading an external swf. This external swf has a button that when pressed I want to load another external swf into the scroll pane in the main flash file.

How do I make the button functional? Is it using sprites? If so, could someone direct me to a tutorial?

Any help would be greatly appreciated. Thanks in advance.
