# Get button to switch out from loaded swf

**URL:** <https://forum.kirupa.com/t/get-button-to-switch-out-from-loaded-swf/322341>\
**Category:** flash\
**Created:** [May 18, 2011, 1:54pm UTC](https://forum.kirupa.com/t/get-button-to-switch-out-from-loaded-swf/322341 "2011-05-18T13:54:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Winstonian](https://avatars.discourse-cdn.com/v4/letter/w/9fc29f/32.png) [@Winstonian](https://forum.kirupa.com/u/Winstonian)\
**Post date:** [May 18, 2011, 1:54pm UTC](https://forum.kirupa.com/t/get-button-to-switch-out-from-loaded-swf/322341/1 "2011-05-18T13:54:57Z")

</div>

Hello,  
I’m a designer struggling to learn advanced actionscript. It’s quite a challenge,  
One of the challenge i’m having right now is:

I have my main timeline(swf). i’m loading in 2 separate swfs into two separate holders on the main stage/timeline/swf. whatever it’s normally called.  
One of the loaded swfs is a menu and the other is a page. Basically i’m designing a learning application. The menu alllows you to jump to a specific place in the course rather than a next button of sorts which is also in the course.

When a different page is loaded i need for a button(movieclip) that’s located in the menu swf to swith out with a new button that’s located off the stage somewhere.(these buttons are located in the menu swf off stage) so i need the loaded page swf, to talk to the other loaded swf(menu) everytime it or another page is loaded.

I’ve seen simular references to having a loaded swf talk to the main timeline swf but i haven’t been able to find a reference for two loaded swfs thats loaded inside holders, to talk to each other.

Any help would be greatly appreciated.

ww.
