Firehawk734
Technical User
Whast the code to disable a button once it has already been pressed and loaded an external movie into a level above your "MAIN" movie?
AND WHERE DO YOU PUT THE CODE?
AND WHERE DO YOU PUT THE CODE?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function disableButtons(){
butArray = new Array("but1","but2","but3","but4","but5");
for(i=1;i<=butArray.length;i++){
(_root["but"+i].enabled)?(_root["but"+i].enabled=0):(_root["but"+i].enabled=1);
}
}
_root.disableButtons();