# Components in SWF, then loaded into another SWF

**URL:** <https://forum.kirupa.com/t/components-in-swf-then-loaded-into-another-swf/151589>\
**Category:** Uncategorized\
**Created:** [June 16, 2005, 3:34pm UTC](https://forum.kirupa.com/t/components-in-swf-then-loaded-into-another-swf/151589 "2005-06-16T15:34:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darley](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@darley](https://forum.kirupa.com/u/darley)\
**Post date:** [June 16, 2005, 3:34pm UTC](https://forum.kirupa.com/t/components-in-swf-then-loaded-into-another-swf/151589/1 "2005-06-16T15:34:38Z")

</div>

I have a main movie that contains 7 buttons. These buttons, when clicked, call to external SWFs to load on the stage in ‘placeholder’ clips. I have a press section. In this press section I have 2 videos that I am loading using the MediaPlayback component. They are visible on the stage when the appropriate button is clicked inside the ‘press.swf’ file. There are 2 buttons on the main timeline of ‘press.swf’ , one to load each of the videos. I have 2 MCs in the library (video1, video2) that I am attaching to the timeline via ‘attachMovie’ when the button is clicked. Inside each of these is the component with the call to the FLV that should load inside the component. I have this working correctly. When I preview the ‘press.swf’ file in Flash it works great.

Then I go and open my main ‘index.swf’ file. When I click on the button for the press section it correctly loads the movie. I try and click on the 2 buttons I have to load the movies and the videos do not show up.

I have seen the “this.\_lockroot = true:” suggestion. I have added this code in various places with no good results.

Is there something else I can try to make the components show up and work? Thanks in advance.
