PDA

View Full Version : ScrollPane - how can keys be disabled?


wizzo
07-14-2005, 08:09 AM
I have a scrollpane with an image in it that I want to scroll verticall only.

I have prevented a horizontal scroll bar appearing by setting

hScrollPolicy = "off";

However, when you give the scrollpane focus, the left and right keys still cause the scrolllpane to scroll left and right. How do I disable the left and right keys?

Cheers for any advice,
W

oldnewbie
07-15-2005, 05:02 AM
hScrollPolicy is not a MX only syntax, and this is a MX and LOWER only forum, not a MX2004 one... Please post on the appropriate MX2004 forum...

http://www.actionscripts.org/forums/forumdisplay.php3?f=34