"Transitions Between External SWFs" - using Movie Clips intead of Buttons

[font=Trebuchet MS][size=2]Hey there :smirk:

I have just completed the ā€œTransitions Between External SWFsā€ tutorial and Iā€™m now Iā€™m at the stage of altering a few things in there to suit my needs. But Iā€™ve run into a problemā€¦

For my buttons, intead of ā€œButtonā€ symbols, I want to use ā€œMovie Clipā€ symbols - reason being is that Iā€™ve got some specially animated Movie Clip buttons that I wish to use.

To get thisā€¦ err ā€œworkingā€ā€¦ with my Movie Clip buttons I have needed to use ā€œ_root.ā€ when referencing to the container Movie Clip.

Now that works to an extent, but for some reason each button plays only ā€œ[/size][/font][font=Trebuchet MS][size=2]red.swf[/size][/font]ā€ even when there is no mention of it in the ActionScript and is instructed to play ā€œblueā€ for example (ā€œred.swfā€ happens to be the first appearing movie).
[font=Trebuchet MS][size=2]
Can anybody help me to get this working properly? I hope itā€™s some stupid mistake on my part rather than something impossible.

Normal method with Button - works fine!


on (release) {

		if (_root.currMovie == undefined) {

		_root.currMovie = "red";
		container.loadMovie("[/size][/font][font=Trebuchet MS][size=2]red[/size][/font][font=Trebuchet MS][size=2].swf");
		} else if (_root.currMovie != "[/size][/font][font=Trebuchet MS][size=2]red[/size][/font][font=Trebuchet MS][size=2]") {
		if (container._currentframe >= container.midframe) {

		_root.currMovie = "[/size][/font][font=Trebuchet MS][size=2]red[/size][/font][font=Trebuchet MS][size=2]";
		container.play();

		}
	}
}[/size][/font][font=Trebuchet MS][size=2]

[/size][/font][font=Trebuchet MS][size=2]
New method with ā€œMovie Clip buttonā€[/size][/font][font=Trebuchet MS][size=2]** - strange problemā€¦**[/size][/font]
[font=Trebuchet MS][size=2]


onClipEvent(load) {
	
	this.onRollOver = function() {
}
	
	this.onMouseUp = function() {
		
		if (_root.currMovie == undefined) {

		_root.currMovie = "[/size][/font][font=Trebuchet MS][size=2]red[/size][/font][font=Trebuchet MS][size=2]";
		_root.container.loadMovie("[/size][/font][font=Trebuchet MS][size=2]red[/size][/font][font=Trebuchet MS][size=2].swf");
		} else if (_root.currMovie != "[/size][/font][font=Trebuchet MS][size=2]red[/size][/font][font=Trebuchet MS][size=2]") {
		if (container._currentframe >= container.midframe) {

		_root.currMovie = "[/size][/font][font=Trebuchet MS][size=2]red[/size][/font][font=Trebuchet MS][size=2]";
		_root.container.play();
		}
	}
}

}[/size][/font][font=Trebuchet MS][size=2]

If anybody can help me out - THANKS! :}
[/size][/font]