Dynamically loading .swf question

ok im doing everything right everything loads and everything but for some reason. the root swf overlaps the new swf that was loaded ( the buttons are invisible yet the buttons are still being clicks on how do i make the NEW .swf overlap everything??

why don’t you disable the buttons when the new swf is loaded? Something like this:

on (release){
_root.myButton.enabled = false;
}

where would i put that??

Well if you’re loading the external movie when a button is clicked then you would apply that to the button.

hmmm ok, howabout the other buttons that werent clicked??

If you want to disable multiple buttons all at once then I suggest setting up a function, place this on the first frame of your main timeline:

function disEnable(isIt) {
	_root.mybutton1.enabled = isIt;
	_root.mybutton2.enabled = isIt;
	_root.mybutton3.enabled = isIt;
	_root.mybutton4..enabled = isIt;
}

Next apply this to your button:

on (release) {
	_root.disEnable(false);
}

That will disable all of those buttons listed in the fuction above. To renable it you would do the opposite.