# \[FMX04\] Loading swf, replacing parent?

**URL:** <https://forum.kirupa.com/t/fmx04-loading-swf-replacing-parent/182075>\
**Category:** flash\
**Created:** [March 15, 2006, 11:36am UTC](https://forum.kirupa.com/t/fmx04-loading-swf-replacing-parent/182075 "2006-03-15T11:36:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adfox](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@adfox](https://forum.kirupa.com/u/adfox)\
**Post date:** [March 15, 2006, 11:36am UTC](https://forum.kirupa.com/t/fmx04-loading-swf-replacing-parent/182075/1 "2006-03-15T11:36:48Z")

</div>

I am trying to work out how I can make an swf load from a parent swf but instead of the parent swf staying behind the loaded swf, it just completely replaces it. Can this be done? Its basically cus when the new swf loads the buttons behind in the parent are still active. Can they be deactivated if the new swf cant replace the parent?

This is the code I am using for a combo box which currently loads into a blank MC:

comboListener = new Object();  
comboListener.change = function(evtObj){  
\_root.empty\_holder.loadMovie(evtObj.target.text + “.swf”,3);  
}

myComboBox.addEventListener(“change”,comboListener);

Any ideas?

Thanks a million!
