# What is the best way to do this?

**URL:** https://forum.kirupa.com/t/what-is-the-best-way-to-do-this/189094
**Category:** Uncategorized
**Created:** [May 13, 2006, 4:00pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-do-this/189094 "2006-05-13T16:00:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![True\_Blue\_32](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@True\_Blue\_32](https://forum.kirupa.com/u/True_Blue_32)
#### Post date: [May 13, 2006, 4:00pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-do-this/189094/1 "2006-05-13T16:00:02Z")

</div>

Hi,  
A complete novice here, so please be nice ;o)  
I have just figured out how to load external SWF’s into the main movie (Whoopydoo i hear you say).  
Now here comes my problem.

Currently i have 5 SWF’s and five buttons as follows: Index (Which just contains a header and navigation buttons and is classed as the main MC), Home (which holds the contents for the Index / Homepage, Gallery, Links etc etc.

On each of the buttons i have the following actionscript:

on (release) {  
loadMovieNum("\<name\>.swf", 1);  
}

etc etc.

I originally had the contents that are now in home.swf, in the index.swf file, but when clicking on various buttons, i ended up getting the text from one swf on top of another. Therefopre i created home.swf, but i only get the home.swf contents showing up after i press the relevant button.

What i need to know is how do i automatically display the contents of home.swf in the main MC when somebody browses to my site?

Thanks in advance.
