Multitouch Support in Flash CS5

Wow!  What a great release – Adobe Flash Player 10.1 / Adobe Flash CS5:

http://www.adobe.com/devnet/logged_in/jchurch_flashplayer10.1.html

SOME NEW FLASH 10.1 FEATURES:

1. Multitouch (Goose)
2. Compute Spectrum on the Microphone (Woodpecker)
3. Accelerometer (Penguin)

FOR GOOSE MULTITOUCH:

The x, y position of each cursor in multitouch will be available in Flash as well as depth if provided.  This can be fed into Goose to make use of the Goose events like:

PRESS, PRESS_DOWN, PRESS_UP, PRESS_MOVE
TOUCH, TOUCH_DOWN, TOUCH_UP, TOUCH_MOVE

and Methods like

startFollow(), stopFollow()
startScale(), stopScale()

To get ready for Multitouch, you can use the Goose Emulator on a regular PC to get multitouch data without the need for a multitouch device.  The emulator will feed your Goose code for processing.  Then when you are ready to move to a multitouch platform, just feed the real data into the same Goose code for processing!

Download Goose Multitouch for Flash

As an alternate to the emulator but still using Goose processing, try the Dodo blob detection ActionScript classes.

All the best!

Goose For Flash Launches to Help Designers and Developers Build Multitouch Games and Applications

goose_sample

Goose lets you build multitouch games and applications in Flash.  It provides an online emulator system that supplies your Flash application with multitouch data in the form of manyML – a simple XML language (see http://manyml.wordpress.com).  You use two or more computers – for example the machine you are testing on and a laptop.  The mouse cursors represent fingers in your application.

Goose also provides a multitouch processing class to handle multiple cursor touching, pressing, dragging and resizing.

GOOSE STEPS

  1. Create your Flash application with a document class
  2. Connect to GooseData to receive multitouch data
  3. Connect to Goose and send it the data from GooseData
  4. Go to the Mouse Node Web pages from two or more computers
  5. Each mouse acts like a finger in your application!
  6. Alternatively, send Goose real multitouch data (device or blobs)
  7. Use Goose events to capture press information from any touch
  8. Use Goose methods to drag and resize just like multitouch apps!

An advantage of the Goose system is that it lets you work with multitouch without a multitouch device or blob detection table.  All you need is your regular computer and a spare computer such as a laptop.  Each mouse represents a touch.

Develop and test your multitouch applications with just Flash and a browser!

The online Goose Multitouch Emulator Mouse Nodes are powered by Robin – the Multiuser System that is also part of Flash Feathers.  You are welcome and perhaps encouraged to use your own version of Robin if you get heavily into production with Goose.

goose_chart_s

GOOSE FEATURES

  • Reads either Goose Emulator data or real multitouch data
  • Capture any TOUCH, TOUCH_DOWN, TOUCH_UP, TOUCH_MOVE
  • Capture any PRESS, PRESS_DOWN, PRESS_UP, PRESS_MOVE on an clip
  • Capture PICK_UP and PUT_DOWN on items – receive cursor information
  • Move clips using DRAG_LOCKED, DRAG_OVERRIDE, DRAG_AVERAGE
  • Scale clips using REGISTRATION_CENTER, AVERAGE or POINT

Please have a look at the VIDEO page and the sample CODE page for more information about Goose.  You can download the code through the link at the left on https://gooseflash.wordpress.com.

FRIENDS AND DONATIONS
Please let us know if you use Goose and we will add you to the Friends area at left.  If you use Goose for a commercial venture and would care to donate that would be super!

karmatja

FEATHERS
Goose is one of a selection of open source solutions called Flash Feathers available at http://flashfeathers.wordpress.com.

feathers

Dan Zen

-09-