I have made a webpage in Flash, and used your tutorial for the infinite menu (awesome). However, i’m having trouble making the buttons dynamically load other .swf files. I’ve made them do it before on other pages, it just seems that the infinte menu doens’t like the way I do it. Could someone please help me out,
well first off, what is the script you’re using to load the movies? Since the buttons are inside a movieclip, you might have a scope problem so could you post the script you’re using on your buttons?
Hmm…well it’s not a scope problem, why don’t you try this. Instead of using that function, apply the script directly to the button itself. Just click on the button to select it, open your actions panel and apply this script:[AS]on (release) {
_root.createEmptyMovieClip(“container”, 1);
loadMovie(“services.swf”, “container”);
container._x = 0;
container._y = 154;
}[/AS]
when i click on the button, it get’s rid of everything on the page, and just opens the services.swf. So…i lose my header and footer, and just end up with the services.swf.
Ok I got it, just apply this to your button and it should work, I tested it out as well. =)[AS]on (release) {
_root.createEmptyMovieClip(“container”, 0);
_root.container.loadMovie(“services.swf”);
_root.container._x = 0;
_root.container._y = 154;
}
[/AS]