PDA

View Full Version : [AS] Hand Cursor without a Button?



maxticket
October 8th, 2005, 03:54 PM
Hello all,

I've read about this before. It shouldn't be too hard.

I'm working on some buttons that will act like normal buttons, but can't be highlighted using the TAB key. I can't stand that yellow border, and because I'm using so many masks, the TAB option would allow users to use buttons that aren't supposed to be there.

So I've made a Movie Clip with an internal sort of hit area, and I'm trying to enable a Hand Cursor somehow. I've tried toying with Properties and such, playing with some scripts, and nothing yet. So far, if the Hand Cursor appears, TAB also works.

I know I could just make a Movie Clip of the Hand Cursor and swap it in when the user rolls over the button. But I'd like to know if I could possibly avoid that.

Any ideas? Thanks everyone.

Jeff Wheeler
October 8th, 2005, 03:58 PM
You should use buttons that work with tab as it increases the page's accessibility. Additionally, you should develop your page without using masks that cover buttons, destroying the ability to tab your page.

maxticket
October 8th, 2005, 04:13 PM
I'm going to have an accessible no-Flash version of the site, but I use popup menus for the Flash site and little hidden elements that TAB kind of messes with. This isn't so much a public site as an application for grad school, and it needs to show that I've considered way for users to work around restraints.

TheCanadian
October 8th, 2005, 04:48 PM
myMC.tabEnabled = false;

Only works with buttons or movie clips acting as buttons. Look in the help file :).

maxticket
October 8th, 2005, 04:53 PM
Sweet. I shall try that one. I was wondering if your could disable Tab. Thanks for that.

maxticket
October 8th, 2005, 04:59 PM
myMC.tabEnabled = false;



Works like a charm. Thanks Canadian!

TheCanadian
October 8th, 2005, 05:48 PM
Glad I could help :hoser:.