Flash Works On Touch-Based Devices (Video)

Several people have been making assertions that most Flash sites will not work properly on touch-based devices because these sites use rollovers or hovers for things like effects and navigation. Well I put together this little video together showing that Flash sites do indeed work the way you would expect since the Flash Player dispatches rollover events even on a touch screen.

This video is aimed at clearing up the misinformation surrounding Flash rollover events and touch devices. The assertion that most Flash sites need to be rewritten is absolutely false. But please grab a tablet and see for yourself. I tried every FWA Site of the Month and they all worked fine.

Lee


HP Slate Running Flash Player and AIR

Adobe and HP have just launched a new video showing Flash Player 10.1 and Adobe AIR 2.0 running on the slick, new slate device from HP. The video shows several types of content and is a great preview of what is capable when a device fully supports the web.

Lee


The Unofficial Nexus One Flash Demos

There were some great polished keynotes at the Mobile World Congress conference in Barcelona this week. While they did an awesome job showing off Flash Player 10.1 in the mobile browser, I put together a low-budget video showing some of the stuff that wasn’t shown. Enjoy!

Lee


Adobe announces Flash Player and AIR for Android

Right about now at Mobile World Congress, Adobe is officially announcing Flash Player 10.1 and Adobe AIR for Android. I truly believe these technologies will redefine the mobile experience. Kevin Hoyt recorded a great video overview showing some demos on the Motorola Droid, which I have embedded below. I have also been testing a selection of mobile Flash sites, created by key partners like YouTube and ESPN, and I am very excited about the future of Flash in the mobile browser.

These technologies, combined with Flash CS5, will revolutionize how developers create mobile applications. It will be easy to create a single application and deploy it to the iPhone and also to other devices via Adobe AIR. You can also use the same code and assets to deliver a mobile browser version using Flash Player 10.1. Google has made a great choice partnering with Adobe and I believe consumers will benefit by being able to choose whatever type of content they want to view.

Expect much more information about developing for Adobe AIR and Flash Player 10.1 here on this blog and over at gotoAndLearn(). If you want to get busy right away learning about the low-level details about how to optimize content for mobile devices, check out this beta version of a white paper created by Thibault Imbert. Seriously this white paper should be printed out and kept by your side as you create Flash content as it is chock full of secrets for getting the most out of the Flash Player.

Also for more details straight from the AIR team, please visit the Adobe AIR Team Blog. These are exciting times!

Lee


Flash Player 10.1 multi-touch FAQ

As you can tell I have been having tons of fun lately playing with the new multi-touch and gesture APIs in Flash Player 10.1 and AIR 2.0. Based on my videos and examples there have been a ton of questions that have come up, many of which I didn’t know the answers to. There are still many things to test and I will pick Danny Dura’s brain while we are sunning ourselves this week in Brasil. Danny has done a lot of work with these APIs and will be doing a session on them at Flash Camp Brasil. Below are some answers to the most asked questions that have come up.

How many touch points can the Flash Player respond to?
There is no limit to the number of touch points you can have. You are only limited by the number of touch points the device you are using has. The HP TouchSmart has a maximum of two touch points and the iPhone has five. All depends on the device you are touching.

The gestures are nice but what about the raw touch data?
The examples I showed used the built-in gestures that we provide. These will be good for most applications. But there is also a raw multi-touch API as well that lets you track the raw point data.

Can I create my own custom gestures?
Absolutely you can. You would listen for the raw touch events rather than the high level gestures. You can track this raw data until you determine the custom gesture has happened and then fire your own event.

Does every device support all of the gestures in Flash Player 10.1?
Nope. Again you are at the mercy of whatever device you are using. We do have an API that allows you to find out which are supported on the device at runtime so you can do something else. Christian Cantrell has a great article on the developer center that lists which devices support what. This article also has some nice code snippets too.

Does the multi-touch stuff work in the browser too?
All of the multi-touch and gesture APIs work in the browser on Windows but do not work in the browser on the Mac. I don’t have any idea about Linux but I will try to find that out.

Why don’t they work in the browser on the Mac?
I anticipated this one of course. Jakub Plichta, who is the Flash Player engineer responsible for multi-touch, sent me the following detailed information about what we need from Apple to make it happen. Both Firefox and Safari use the same API to interface with the plugin. What we need is for Apple to add gesture and raw touch data to the NPCocoaEvent class defined in npapi.h in the webkit framework. There is nothing we can do until this happens. Big thanks to Jakub for giving us the nitty gritty details.

Wait but WebKit is open source. Can’t you do this yourself?
You really won’t leave this alone will you? WebKit is open source but the plugin interfaces for Safari and Firefox are written by Apple.

Will multi-touch work in the HTML component in an Adobe AIR 2.0 application?
In this case we have control over the WebKit implementation but because of time constraints we won’t be able to include that in the initial launch of AIR 2.0. But since it works perfectly with Flash-based AIR content I don’t think it will cause too many issues.

Do these APIs work on the iPhone when publishing from Flash CS5?
I’m assuming you saw my last post with the video but just in case, I thought I would put the question here. Yes they work on the iPhone too.

I have Windows 7 but no touch monitor. Can I use a Wacom Bamboo to do the multi-touch stuff?
Unfortunately not. Wacom has there own driver which doesn’t generate true native gestures. If you bought one I hope you saved your receipt :) . The general rule is: if the device generates raw, native multi-touch events then they will work in Flash.

Lee


1 - 5 of 26 Prev 5Next 5