Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 119
Registered: ‎03-10-2010
My Device: Bold 9000
My Carrier: Rogers

Mouse Events on Simulator



it is not entirely clear to me how the mouse events should work with the simulator, and its relationship with the "finger" events on the actual device. 


For example, to scroll something in a touch device, you normally slide your finger to the direction you want to scroll, and there is always that inertial scrolling effect. I don't think this is considered a special gesture, is it?


I was playing with the Picker UI component and it shows this expected behavior. I could see that, in the simulator, it is translated to a single click (without holding the button) and move the mouse pointer to the direction. So far so good.


My question is: how to do the same in a scrollPane for example? What kind of events should I handle? Or when adding something bigger into the scrollpane will make it behave as expected (finger-wise)?


I'm not sure yet what is already available through Air, and what I have to code "from scratch".


Any ideas here?





(*) Kudo-me if you really think I helped you!
My plug: I'm doing a Mobile Experiment, reported on my Blog: Check it out!.
Paulo Garcia
http://www.mobilecreators.com - Twitter: http://twitter.com/mobilecreators