Skip to main content
Known Participant
May 4, 2007
Question

disable all within an mc

  • May 4, 2007
  • 4 replies
  • 383 views
Hi - is there any way of disabling all the buttons within a particular movieclip?

thanks in advace....
This topic has been closed for replies.

4 replies

melbendi
Inspiring
May 15, 2008
Does this mean I could disable all buttons, even though I don't know their instance names, then re-enable only the ones I want to work (which I do know the names of)? Or is that too good to be true?

In case you're baffled how it could be that I don't know the names of some buttons, here's my predicament: I have a website to edit, however I can't recompile the main movie because the AS files are missing! So, I don't know the names of the buttons that are created from dynamically from code in those AS files, so all editing has to be done from the loaded movies... dumb, I know, but that's what they gave me ;-)

Thanks, MurMeeKeer!
Dz_00_Author
Known Participant
May 4, 2007
Great Stuff! Thanks so much!
Inspiring
May 4, 2007
Hi,

Try this.
Participating Frequently
May 4, 2007
not unless you'd name them uniform like btn1, btn2 etc... you could then use a for loop like this: