USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 10/8/09 07:35 PM
Sign-Up: 07/24/07
Posts: 2,001
How do I disable Tab and the hand icon when rolling over a button? I remember some script like focusRect=false; except that I don't know where to put that script and I don't even think it's right. And the hand one was something like Mouse.hand or something... So what's the script and where do I put it?
This link doesn't do anything.
Posted at: 10/9/09 08:37 AM
Sign-Up: 10/05/08
Posts: 1,597
I supose you could warn people about using tab, and then use a penalty script using Key.isDown(Key.TAB) As for the mouse, no idea. Custom cursers dont have this problem though
AS2||AS3||Motox Thanks to hdxmike for the sig :]
Posted at: 10/9/09 08:45 AM
Sign-Up: 08/10/05
Posts: 6,027
for (var i in _root) { if (typeof (_root[i]) == "MovieClip") { _root[i].useHandCursor = false; _root[i].tabEnabled = false; } }
Portfolio(Under construction): UnknownFury.com | Msn: giant_ak_47@msn.com | Contact: me@unknownfury.com Follow me on twitter!
Posted at: 10/9/09 08:47 AM
At 10/9/09 08:45 AM, UnknownFury wrote: for (var i in _root) { if (typeof (_root[i]) == "MovieClip") { _root[i].useHandCursor = false; _root[i].tabEnabled = false; } }
Urgh. Didn't mean to post. "MovieClip" might have to be "object" as they're buttons.
Posted at: 10/9/09 11:39 AM
Sign-Up: 09/09/07
Posts: 3,431
_root.tabEnabled = false;
I code in AS2, in case I forgot to mention it.
All times are Eastern Standard Time (GMT -5) | Current Time: 03:20 AM
<< Back