Here is a common reply to my students, forum users for the querry, “How do I remove the hand cursor from all instance of Buttons or MCs without specifying it individually?”. Modify the script below to suit your needs. Apply it using removeHand();
myRoot = this;
function removeHand() {
for (i in myRoot) {
if ((myRoot[i] instanceof Button) || (myRoot[i] instanceof MovieClip)) {
myRoot[i].useHandCursor = false;
}
}
};
Brajeshwar posted this article
on Sat, Oct 2nd, 2004 at 8:36 am
Categorized under Technology and has the following tags








Comments Post Yours
There are 3 responses so far. You can follow any responses to this entry through the RSS feed. You can skip to the end and leave a response. Pinging is currently not allowed.
This could be an easier solution?
Button.prototype.useHandCursor = false;
MovieClip.prototype.useHandCursor = false;
the main difference between turning useHandCursor off bia prototype and brajeshwar’s method is that it allows you to specify which clip you want to turn the hand cursor off in, which is better if you are using components, for example, where you just may want to turn the hand cursor off for the component and not the entire flash movie itself.
Post yours