I was wondering if someone could take a look at the zip. I’m trying to load external SWF’s with an intro and an outro, that disables the button after it’s been clicked and then ables as the next button is clicked. I found this FLA source and have been adjusting it to my needs.
The original FLA has four buttons but I’m needing five buttons. When I change the code in the first frame from (this is the origianl 4 button code)
function resetButtons() {
for (j=1; j<5; j++) {
_root["button"+j].gotoAndStop("up");
}
}
TO
function resetButtons() {
for (j=1; j<6; j++) {
_root["button"+j].gotoAndStop("up");
}
}
The buttons get all funky. Example, click the buttons a couple times see how they work, then click the last bottom button and then the first top button and the bottom gets locked in the disabled position. If you delete the bottom button (and keep the first AS sample above on 1st frame) you’ll see how i’d like it to work all around.
Anyone have any suggestions on how I can fix this? PLease have a look at the files, driving me nuts.
Thanks in advance.
PS Is there any other way of doing this technique that might be a little easier or have better coding?