Some programing Help please

I’m using external SWF files in my site and using multiple files at once…Our main file is calling 2 swf’s at once with no problem but then one of the external swf files “portfolio” is calling on its own external files “Webdesign.swf”, “photography.swf” and so on. everyhing works right when you click the first button, but when you click the second button it just reloads the previous one you clicked? i know this may sound confusing so here is the test site.

www.versusmediagroup.com/test

the first box is portfolio and you can see what i’m talking about…hopefully.

Thanks
Seth

you will probably need to post your fla so we can see the code to figure out what is going on

The files can be found at

www.versusmediagroup.com/test/flafiles

Well, here ya go… this is what you had in your code for the portfolio:

// This code is for the changing swf files.
on (release) { 
if (_root.currMovie3 == undefined) { 
_root.currMovie3 = "printmedia"; 
portfolio_files.loadMovie("printmedia.swf"); 
} else if (_root.currMovie3 != "printmedia") { 
if (portfolio_files._currentframe >= portfolio_files.midframe) { 
_root.currMovie3 = "printmedia"; 
portfolio_files.play(); 
} 
} 
}
on (rollOver) {
	// slider - Movie Clip's Instance Name. button_1 - Button's Instance Name.
	slider.xMove = button_3._y;
}

And Here’s the problem line:

portfolio_files.loadMovie("printmedia.swf");

It needs to be changed to:

_root.container.portfolio_files.loadMovie("photography.swf");

You were not correctly labeling where to load your section swf’s (considering their levels within each one. Any time you are loading external swf’s into other movies, the best way to make sure your targeting is still cool, is to just put one of these on a clip:

onClipEvent(load){
trace (this);
}

I wasn’t able to COMPLETELY make sure everything loads and populates because you didn’t include your XML files inside that directory :stuck_out_tongue:

Rocksteady,
Danno~

I tried the code you gave and i’m still having the same problem, do i change it everywhere or just in the one line you put up?

Thanks

just as a design note, you need to watch the buttons at the bottom because they go off thwe screen once they’ve moved from their original position

Were still in the very early stages of the site…but thank you for letting me know.