Hello ladies and gents,
I am having a bit of trouble manipulating what I learned in the “[font=Arial][color=#000066] [/color][/font][font=Verdana][size=4][color=#003366]Transitions [/color][/size][/font][font=Verdana][size=4][color=#003366]Between External SWFs” [size=2]tutorial.[/size][/color][/size][/font]
[color=#003366][/color]
[color=#003366]I have an introduction animation (INDEX9D.fla) that contains an empty movieclip which is suppose to load external swf’s DESIGNWORK1, ACCOUNTING1 (not yet created), and CONTACT1 after the mouse is released from the respective button. The Nav Anima movieclip contains the buttons and the code from which this directive is suppose to occur. The moviclip is on the INDEX9D layer called[/color]
[color=#003366]Nav Bar.[/color]
[color=#003366][/color]
[color=#003366]Basically, when I originially used the code from the tutorial on the first movie and button (DESIGNWORK1), it worked like a charm. Now that I am attempting to add the code for CONTACT1 the file is screwing up. It leaves traces of the DESIGNWORK1 movie or vice versa when I have clicked on the contact button first and then the design button. I can tell that the Contact1 movie is not loading properly at all. Sometimes the Nav Bar does not work properly either. [/color]
[color=#003366][/color]
[color=#003366]When I remove the code for loading the CONTACT1 movie, it all works perfectly again. Can you give me some advice on how to resolve this issue?[/color]
[color=#003366][/color]
[color=#003366]Thank you for whatever assistance you can offer and the INDEX9D file is included for your review.[/color]
[color=#003366][/color]
[color=#003366] . . . .I am a beginner so if you see something that looks really dumb, please do not hesistate to tell me (big or small) so that I can do it right in the future. Thanks![/color]
[color=#003366][/color]
[color=#003366][/color]
[color=#003366]Here is the code on the design button and the contact button respectively. If you need the other files I can send them per your request:[/color]
[color=#003366][/color]
on (release) {
gotoAndPlay(“Design Mode”);
}
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “DESIGNWORK1”;
_root.container1.loadMovie(“DESIGNWORK1.swf”);
} else if (_root.currMovie != “DESIGNWORK1”) {
if (_root.container1._currentframe >= _root.container1.midframe) {
_root.currMovie = “DESIGNWORK1”;
_root.container1.play();
}
}
}
and then for the other button:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “CONTACT1”;
_root.container1.loadMovie(“CONTACT1.swf”);
} else if (_root.currMovie != “CONTACT1”) {
if (_root.container1._currentframe >= _root.container1.midframe) {
_root.currMovie = “CONTACT1”;
_root.container1.play();
}
}
}
[color=#003366][/color]
[color=#003366][/color]
[color=#003366][/color]
[color=#003366]aswg[/color]