Give me some fresh AIR 2.o in Flash Player 10.1


On the 17th november 2oo9 morning, Adobe announced on its lab the availability of the Air 2.0 SDK (beta version) and the Flash Player 10.1 (prerelease version). Here is a small article about what is coming new and/or better with these both technologies

Air 2.o

New functionalities in AIR 2.0

IPv6 Support flash.net.dns.AAAARecord
IPv6 format addresses can now be used with all APIs that accept an IP string as input
User Datagram Protocol Support flash.net.DatagramSocket
flash.net.ServerSocket
Read Using UDP socket connections… InsideRIA series (Part 1, Part 2, Part 3) by Ian McLean
Network Information flash.net.NetworkInfo
DNS Records flash.net.dns.DNSResolver
flash.net.dns.ARecord
flash.net.dns.AAAARecord
flash.net.dns.MXRecord
flash.net.dns.SRVRecord
flash.net.dns.ResourceRecord
flash.net.dns.PTRRecord
flash.events.DNSResolverEvent
Launching and Interacting with Native Processes flash.desktop.NativeProcess
flash.desktop.NativeProcessStartupInfo
flash.events.NativeProcessExitEvent
Screen Reader Support Is usable by users with vision-related disabilities.
Take advantage of JAWS and Microsoft Narrator (a text-to-speech utility that comes with Windows)
For Mac OS X or Linux, test application using a screen reader within a virtualized instance of Windows XP running VMware.

See AccessibilityProperties class
Read Creating Accessible Applications in ‘Advanced Flex programing’ [Livedocs]
Read Daniel Koestler’s article on Adobe Developer Connection
Watch Building accessible Flex and Adobe AIR applications on Adobe TV

File promises API flash.desktop.URLFilePromise

Additional functionalities to existing API

Open file with Default Application flash.filesystem.File openWithDefaultApplication()
Open a document such as .doc, .pdf or .mp3, etc. using the default application associated with that document in a completely platform-independent way
Microphone Access API Access the sound data from a microphone directly for recording or other processing without the need of a server.
Database Transaction Savepoints flash.data.SQLConnection savepoints()
setSavepoint()
releaseSavepoint()
rollbackToSavepoint()
Read local database SQL support
Mac Vector Printing Support On the Mac, vector printing support has been enabled
Idle time-out flash.net.URLRequestDefaults
HTMLLoader
URLRequest
idleTimeout property
Increased Maximum Size of NativeWindow 2880x 2880 pixels in AIR 1.5.2
4095×4095 pixels in AIR 2.0.

Platform awareness related APIs

Mass Storage Device Detection flash.filesystem.StorageVolumeInfo
flash.filesystem.StorageVolume
Multi-touch functionality flash.ui.MultitouchInputMode MultitouchInputMode.GESTURE
MultitouchInputMode.TOUCH_POINT
MultitouchInputMode.NONE
flash.ui.Multitouch Multitouch.inputMode
Multitouch.supportsGestureEvents
Multitouch.supportsTouchEvents
Multitouch.maxTouchPoints
flash.display.Sprite startTouchDrag()
stopTouchDrag()
flash.events.GestureEvent
flash.events.TouchEvent
flash.events.TransformGestureEvent
flash.events.PressAndTapGestureEvent
multi-touch (Windows 7) events
gesture (Windows 7 and Mac OS X Snow Leopard) events
(on computers that have multi-touch hardware)
Read Christian Cantrell’s article on Adobe Developer Connection

Better Performance

Decrease in resources used
WebKit Performance Increase WebKit in AIR 2 beta is based on the version shipped with Safari 4.0.3 SquirrelFish Extreme JavaScript engine performs 50% faster using SunSpider tests
WebKit Animation
WebKit Gradients
WebKit Selectors
WebKit Transform
WebKit Animation

Read also

Official documentation

¬ Introducing Adobe AIR 2 beta
¬ AIR page on Adobe Labs
¬ Learn to Use Adobe AIR 2 Beta

InsideRIA articles
¬ AIR 2 Enhancements Complete Overview, by Elad Elrom, October 7, 2009

and watch also

Adobe TV
¬ What’s coming in Adobe AIR 2

Flash® Player 10.1

This release of the Adobe® Flash® Player 10.1 is symbolic because it is the first runtime release of the Open Screen Project.
By the way and according to the official documentation, this Flash® Player release is important by the new possibilities it offers :

Full Flash Player will be available on smartphones and other Internet-connected mobile devices
Enables developers to write a single handler to process all runtime errors that weren’t part of a try/catch statement (–> catch and handle unexpected runtime errors and present custom error messages)
Flash Player 10.1 leverages hardware acceleration of graphics and video and many other performance improvements, such as rendering, scripting, memory utilization, start-up time, battery and CPU optimizations.
Support for multi-touch, gestures, mobile input models, and accelerometer
With new HTTP streaming and content protection features with Adobe Flash Access, premium audio and video content can be securely delivered within the browser.
Streaming performance is enhanced with improved support for live events, buffer controls and peer assisted networking.
Network context-aware services, such as smart seek and stream reconnect, will enable smooth, uninterrupted media playback and improved resource utilization on mobile devices.

Read also

¬ Flash Player page on Adobe Labs


About this entry