If/then and load/unloadmovie

hi, i wrote this code which isnt working, not sure why - basically i want the button to check if the movie in clip1 is loaded, and if so, to unload it, and then load the other movie (int_bri2.swf) into clip2…im doing this as an if/ then because i have a third movie also (int_bri3.swf) which i want it to load on release if the second movie is the one loaded (didnt put in that part of the code tho yet).

right now all this does is unloaf int_bri1.swf, and …that’s it! any ideas ?? :huh:

on (release) {
if (_root.container.slider.clip1) {
_root.container.slider.clip1.unloadMovie(“int_bri1.swf”);
_root.container.slider.clip2.loadMovie(“int_bri2.swf”);
setProperty(“clip2”, _x, 60);
setProperty(“clip2”, _y, 10);
setProperty("_root.container.slider.M1", _visible, 0);
_root.container.slider.but2.enabled = false;
_root.container.slider.but1.enabled = true;
_root.container.slider.but3.enabled = true;
}
}