Flash site not working properly

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 :slight_smile:

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?

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

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 :stuck_out_tongue: