Developed a simple Flickr search application using Flex 4, targeting Flash Player 10.1 on Google Nexus One. This application lets users search for photos on Flickr and uses the API provided by Flash Player 10.1 to handle touch events.
Here is the video of the application:
It took 3 hours for me to understand the touch events and develop this application and of course used Data-Centric features in Flash Builder 4 to connect to the services exposed by Flickr. In this application I used the following to handle touch events:
- TouchEvent.TOUCH_BEGIN
- TouchEvent.TOUCH_MOVE
- TouchEvent.TOUCH_END
- TouchEvent.TAP
- Multitouch.supportsTouchEvents
- Multitouch.inputMode
Download the source here http://sujitreddyg.com/samples/FlickrMobile.zip
Details on Flash Player 10.1 API for touch, multitouch and gestures can be found in Flex Developer Guide. Also read Multi-touch and gesture support on the Flash Platform by Christian Cantrell and Flex 4 List Scrolling on Android with Flash Player 10.1 by James Ward.
Adobe Rocks
Posted by Sujit Reddy G 







