# Flash site not working properly

**URL:** https://forum.kirupa.com/t/flash-site-not-working-properly/182635
**Category:** flash
**Created:** [March 20, 2006, 6:02am UTC](https://forum.kirupa.com/t/flash-site-not-working-properly/182635 "2006-03-20T06:02:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Remnorz](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Remnorz](https://forum.kirupa.com/u/Remnorz)
#### Post date: [March 20, 2006, 6:02am UTC](https://forum.kirupa.com/t/flash-site-not-working-properly/182635/1 "2006-03-20T06:02:47Z")

</div>

Ok I’m a complete newb in flash, but slowly and by reading a lot of tutorials and book I bought I’m kind of learning… Still I have an issue that I haven’t found a solution to.

I already have a flash site called test.swf, inside I have an empty MC in an action layer inside the area I want the other pages to open. In the buttons I set an action for loading the movie like this

on (release) {  
actionformovie.loadMovie(“History.swf”);  
}

I save the page and do a Publish Preview in HTML but when I hit the link nothing happens. :(. I went through the tutorial in this site even though it’s for mx2004… and it basically says to do that command… any help would be appreciated 🙂

---

<div class="post-metadata">

### Author: ![Soig](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Soig](https://forum.kirupa.com/u/Soig)
#### Post date: [March 20, 2006, 6:15am UTC](https://forum.kirupa.com/t/flash-site-not-working-properly/182635/2 "2006-03-20T06:15:26Z")

</div>

Welcome! I suggest this to all newbies: Post the FLA. It helps us look, understand, debug and work with the code. Then all you do is study the difference of before and after.

In your case I suspect that it is an issue because you have a relative location set. History.swf does not refer to any url. Maybe when you publish it, you didn’t publish History.swf in teh same folder as test.swf?

---

<div class="post-metadata">

### Author: ![Remnorz](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Remnorz](https://forum.kirupa.com/u/Remnorz)
#### Post date: [March 20, 2006, 6:22am UTC](https://forum.kirupa.com/t/flash-site-not-working-properly/182635/3 "2006-03-20T06:22:39Z")

</div>

Yeah both are in the same folder :(. Let me try and post the fla.

---

<div class="post-metadata">

### Author: ![Remnorz](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Remnorz](https://forum.kirupa.com/u/Remnorz)
#### Post date: [March 20, 2006, 6:50am UTC](https://forum.kirupa.com/t/flash-site-not-working-properly/182635/4 "2006-03-20T06:50:51Z")

</div>

ok I fixed it instead of \_root.MC.loadmovie(“movie.swf”);

I used

\_parent.MC.loadmovie(“movie.swf”,MC,1);

Works perfect now. Maybe someone has a better suggestion 😛
