hi am am tryin to make a button set a variable. the other button sets the variable to “release2”
on (release) {
set (releasechoice, “release1”);
_root.sections.gotoAndStop(85);
_root.logomovie.gotoAndStop(12);
}
this variable “releasechoice” is used to determine which movie clip should load.
stop();
if ($_GET[‘releasechoice’] == release2) {
_root.sections.contents.loadMovie(“flashbin/CSI_release2.swf”);
}
else if ($_GET[‘releasechoice’] == release1) {
_root.sections.contents.loadMovie(“flashbin/CSI_release1.swf”);
}
else {
_root.sections.contents.loadMovie(“flashbin/CSI_news1.swf”);
}
for some reason this isnt working… its like it remembers what the value of the variable is… or it doenst even use the if statement. it just loads only one movie clip no matter what the variable is. i have tried to delete the variable before i set it again but it doesnt work.
i have had a huge hard time tryin to get this to work. it seems so simple. i have tried the “switch” method instead and no luck.
please help
thanks.
jon