Flash replays?

This is qute sticky. On the new site we are working on, it has Flash and HTML. The problem is when you click on the navigation buttons(which are flash) they should load a new external movie and open the new HTML page at the top. When you publish the file and click on the buttons, the HTML page loads, but flash seems to reload and play the same external movie the whole time. Here is the code I used:

on (release) {
loadMovieNum(“portfolio.swf”, 2);
on (press) {

Attached you will also find a picture explaining the situation.