PDA

View Full Version : [AS3] using hand curor on slider component


WarrenVIP
10-26-2009, 06:14 PM
Ok. it seems like it should be simple enough. I just want to use the hand cursor when hovering over my slider component. but setting buttonMode or useHandCursor to true does nothing like other components. I am using flash's slider. Any thoughts?

WarrenVIP
10-27-2009, 02:36 PM
ok. so I figured it out. I couldn't interact with the slider component to create a hand cursor. I had to interact with each of its child items. here's what I did:

var Bar_Target:Object = _scrubber.getChildAt(0);
var Scrubber_Target:Object = _scrubber.getChildAt(1);
Bar_Target.useHandCursor=true;
Scrubber_Target.useHandCursor=true;

so simple. yet so frustrating. lol

_warren