Here is a very quick video showing the new multi-touch APIs in an iPhone application that was created from Flash CS5. The code needed is shown below. Now I’m off to Brasil!
1 2 3 4 5 6 7 | photo.addEventListener(TransformGestureEvent.GESTURE_ZOOM, onZoom); function onZoom(e:TransformGestureEvent):void { photo.scaleX *= e.scaleX; photo.scaleY *= e.scaleY; } |
Lee








Very nice!!!
Looks great, can’t wait to try this out!
Let me get this straight.
Apply won’t work with Adobe to get Flash Player on the iPhone.
In response, Adobe has created a compiler which will compile into native iPhone apps. In addition, Adobe has added an API to allow for interacting with multi-touch interfaces like the iPhone.
The default iPhone applications take full advantage of multi-touch for pinch+zoom etc.
Google, HTC, Motorola (eg Android) WILL work with Adobe to get Flash Player on Android phones.
Android, however, does not include default applications that make use of pinch+zoom.
What a crazy world we live in…
This stuff is getting too easy [for us] now!
i cant see the video?
Please somebody give me an iPhone
I’m also cannot wait to code CS5
:~~
@Rahmat if you can’t see the video go to http://www.flickr.com/photos/brimelow/4269634862/
@TK “What a crazy world we live in” < That is so accurate
Waiting for this is worse than not being able to watch the next episode of 24…
Is it me or should i buy stock in apple just for the flux of apps that flash guru’s will be bombarding the App store with.. including me!
Cant wait — looking forward to any sneak peeks Lee!
Nice demonstration i am waiting for flash CS5
Two questions… When you’re developing an app, how do you load it to the iPhone or Touch? Secondly, is it possible to access the accelerometer, compass, and GPS from Flash?
Thank’s Lee,
looks so simple !
That is really cool! I can’t wait to start developing iPhone apps in Flash! Wish I was going to Brazil. I lived down there for a couple years.
Danwize
Great performance indeed and the AS3 required for it looks most minimal.
looks good… now if only we could download flash cs5 to get rid of so many of the quirks of flash cs4 on the mac!!
rocksteady,
danno~
This is gesture event, not exactly a multitouch. Could you make an example with TouchEvent Class? Maybe simple piano keyboard?
Very nice performance!
Is it a 3GS or a 3G?
I am wondering if the 3G can hold up to the performance of the 3GS
Sweet. Thanks for the code snippet. Safe travels.
@TK The added functionality given by multi-touch is for all systems capable of utilizing it, such as OS X, Windows 7 and iPhone. Adobe is making improvements to the event model to catch these events to and respond to them in a meaningful way. As far as I know, Android do not have this feature yet. Some say it is a software limitation in 2.1, and some say it is a hardware limitation – I don’t know, but the feature is also in player 10.1, so the player should be able to catch it when it arrives … as far as I can see
Nice work, Lee. Have a safe trip to Brasil.
/ockley
are these new gesture transformations ONLY for the iPhone, or will they work with any gesture system?
Eg a lot of browsers support mouse gestures etc
Great news. It was a shame that can’t be use flash on that awesome tool. I glad to hear that news, thanks.
In addition, I wonder that how this will effect to developers. I think, people probably start to use Flash instead of Iphone Developer kit.
Is there any hope that these features will be included in the browser version of Flash Player 10.1, and not just in desktop AIR apps? Mac trackpads can pick up multitouch events, but only in AIR.
From the support docs here: http://j.mp/8mDzrt
“Note: The Multitouch feature is not supported for SWF files embedded in HTML running on MacOS”
But why not? What’s the major limiting factor here – I can use two fingers in the browser to scroll, so why can’t Flash pick them up? Not very cross-platform really is it!
@Paul that is the first I heard of that so thanks for letting me know. Remember that we are still in beta so hopefully that will work by release time. Let me ask the player team about it though.
Great, thanks Lee. It would be a major boon to have multitouch available in the browser, for Windows 7 touch screens or even just simple Mac trackpad stuff like zoom and rotate.
How do we even know that Apple will allow these flash CS5 apps in the app store once CS5 is released? I know there are flash apps available on there now, but it’s certainly within reason for apple to pull the plug on these apps whenever they want. I’m guessing that they’ll add something to the iPhone developer program agreement saying that only code created in XCode or objective C is Apple approved, or something like that.
Considering Apple’s current stranglehold on the business of iphone apps, I would be surprised if they welcomed CS5 iPhone apps in the app store.
Apple are cuntsax
Lee, did you write any code so that it would scale centered on your finger coordinates, or is it just scaling with a centered registration point?
So cool!I like this