Is there a way to disable several buttons?

A way to disable several buttons on a different timeline for most lies music video.

As when I click on a single button, the other buttons will be disabled.

From now what I do is like that...

function disableButtons() {}

Preview.Btn1.enabled = false;

Preview.btn2.enabled = false;

.

.

.

.

controlbtns.prev.Enabled = false;

controlbtns. Next.Enabled = false;

controlbtns.playpause.Play.Enabled = false;

controlbtns.playpause.pause.Enabled = false;

.

.

.

.

and a few others

}

After loading is complete you can disable all buttons and movieclips into your swf file loaded by the way the target charge to:

function disableF(mc:MovieClip) {}

MC. Enabled = False;

for (^ s in mc) {}

{if (typeof (MC [s]) == "Object")}

[S] MC true = false;

} else {if (typeof (MK [s]) == "movieclip" & mc [s] ._parent == mc)}

[S] MC true = false;

disableF (MK [s]);

}

}

}

Tags: Adobe Animate

Similar Questions

Maybe you are looking for