I’ve searched tons of threads and can’t find the answer. I’ve used the transition between external swf tutorial for my portfolio site.
http://keepitmovindesigns.com/KIM_WEB_V3_reset.html
When I test my site on my computer all eternal swfs load perfectly.
I’ve uploaded it to my server. The first section (HOME) loads automatically along with my mp3 player, which is good. However, when I press a button for another section and ‘home’ exits, the one that is supposed to load in it’s place doesn’t load.
Has anyone else ever had this proble? Further more does anyone know how I can resolve this issue?
hers is the code used on my buttons.
Main Swf code:
on (rollOver) {
this.gotoAndPlay("over");
}
on (rollOut) {
this.gotoAndPlay("out");
}
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "portfolio";
//refer to _root
_root.contents.loadMovie("portfolio.swf");
} else if (_root.currMovie != "portfolio") {
//refer to _root
if (_root.contents._currentframe >= _root.contents.midframe) {
_root.currMovie = "portfolio";
//refer to _root
_root.contents.play();
}
}
}
[color=black]External Swf Code[/color]
frame 1 code:
midframe = 299;
frame 299 code:
stop();
last frame code:
_root.contents.loadMovie(_root.currMovie+".swf");