all groups > flash actionscript > august 2006 >
You're in the

flash actionscript

group:

how do I get a button to do nothing


how do I get a button to do nothing forumnotifier
8/10/2006 7:23:00 PM
flash actionscript:
I need a button to do absolutely nothing when conditions are right. For
example if a != b, then don't act like a button at all. Is there ActionScript
for "do nothing" or "ignore everything"? Right now the page is not navigating
on press, but it is re-loading the same page, and that's not what I need. I
need the button to act as though it wasn't pressed at all.

Thanks!
voguy
Re: how do I get a button to do nothing CogDev
8/10/2006 7:37:52 PM
You can use the _enabled property. So it would be:

AddThis Social Bookmark Button