ASAP Framework has a follow-up: go to ASAP Library for our AS3 framework!

BUG: ComboBox? : Scrolling via wheel/arrows not working

The combobox list doesnt scroll properly using the scroll arrows or the wheel mouse. Here is the solution: 1) return a negative number for ComboBox? .getScrollPosition() public function getScrollPosition () : Number {

return -(mScrollPosition * itemHeight); } 2) apply snapping in ScrollBar? .scroll() replace this: mScrollTarget.scrollTo(newPos); with this: // do we need to snap? if (mSnap = undefined) { // yes, scroll modulo snapfactor mScrollTarget.scrollTo(-((newPos - (newPos % mSnap)) / mSnap)); } else { // no, just scroll... mScrollTarget.scrollTo(newPos); }

Test case

Environment

ASAP version: 0.94
Flash Plugin version:  

-- SamAhn - 30 Nov 2006

Follow up

Fix record

BugReportForm
TopicTitle ComboBox? : Scrolling via wheel/arrows not working
BugStatus New
AppliesTo Core
PriorityLevel Urgent
AssignedBugTo

SubmittedBy SamAhn
Topic revision: r1 - 30 Nov 2006 - 20:36:26 - SamAhn

Main Web Create New Topic Index Search Changes Notifications RSS Feed Statistics Preferences

Webs ASAP BugBase? Main Sandbox TWiki TestCases? Main Web Create New Topic Index Search Changes Notifications RSS Feed Statistics Preferences

Webs ASAP BugBase? Main Sandbox TWiki TestCases? porn free porn

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding ASAP? Send feedback