I wanted to know how I would make a whole symbol (an image) scrollable? I have found out how to do the multi-touch pinch to zoom but I can’t find any code samples that will let me make the image scroll vertically only with one finger.
So all I want to do is make an image scroll up and down with a single finger input. Are there any simple methods or sample code anyone could give me?
There are two ways to make an image scrollable in an AS3 mobile project: using the Pan gesture (two fingers), or using mouse down, move, and up (one finger – touch events are registered as mouse events on mobile devices). The example below supports both.
Note: With the mouse events, you may want to consider adding a timer to differentiate between clicks and drags (shown in example).