One of the most anticipated features of Flash Player 10.1/AIR 2 was global error handling. Global error handling lets you use one class to handle any uncaught errors in your code:
Very, very handy. Description and code examples in the ActionScript 3.0 Reference:
Adobe is hosting webinars
this week that introduce and explain the new multiscreen capabilities
of the Flash Platform.
To deliver content for multiple screens, you need to optimize the content to conserve memory, minimize CPU usage, and so on. Adobe Learning Resources and Adobe Flash Player Product Manager Thibault Imbert created the following 87 page doc that explains all that, and more:
Optimizing Performance for the Adobe Flash Platform
We’ve just posted the Flash Player 10.1 Administration Guide. This doc describes Flash Player, how it’s installed, how it works, and how you can control it to suit the needs of a specific network environment. This document is intended for IT or administrative professionals who manage the installation or use of Flash Player for multiple users in a controlled environment.
Flash Player 10.1 and Flash Media Server 3.5.3 support two exciting new buffer management features: Stream Reconnect and Smart Seek. To see them in action, check out this example: Stream Reconnect and Smart Seek example. Right-click on the example and choose View Source to see the code.
The example is also linked from the Flash Media Server 3.5.3 New Features Guide. This doc has all information you need about how to use the Smart Reconnect and Smart Seek ActionScript APIs.
Here’s a quick, high-level view:
With the release of Flash Player 10.1, you can deliver video players that continue to play media seamlessly when a connection is dropped or when a client switches from a wired to a wireless network connection. Adobe Product Manager Kevin Towes says:
We’ve essentially decoupled the buffer from the connection – which allows video to play back even if the connection drops. Developers can use ActionScript to reconnect to FMS and resume playback – and if this is done before the buffer empties, then there will be no perceived disruption.
Flash Media Server 3.5.3 and Flash Player 10.1 work together to support smart seeking in VOD streams and in live streams that have a buffer. Smart seeking uses back and forward buffers to seek without requesting data from the server. You can step forward and backward a specified number of frames. (Standard seeking flushes buffered data and asks the server to send new data based on the seek time.) Smart seeking reduces server load and improves seeking performance. Use smart seeking to create:
•Client-side DVR functionality. Seek a live stream within the client-side buffer instead of going to the server for delivery of new video.
•Trick modes. Create players that step through frames, fast-forward, fast-rewind, and advance in slow-motion.
Flash Player 10.1 and AIR 2 are now available for download on adobe.com.
For more information about AIR, read the announcement on the AIR blog and check out the release notes for a list of new features.
For more information about Flash Player, read the announcement on the Flash Player blog.
The ActionScript 3.0 Reference for Flash Platform includes all the Flash Player 10.1 and AIR 2 APIs.
You can filter the ActionScript Reference to display APIs for specific runtimes:
Download the Flash Player 10.1 and AIR 2 mobile runtimes from Adobe Labs.
We’ve just released a beta version of something that we’re all very excited about – the ActionScript 3.0 Reference for the Adobe Flash Platform. What’s the big deal? It’s all the APIs and core AS3 language stuff in one place. Today, tomorrow, forever. One URL to bookmark. One destination for Flash Player, AIR, ColdFusion, LiveCycle, Flash Professional, and Flex APIs. In addition to that, the content is filterable. You select the APIs you want to see in the reference. You can select APIs by runtime, by product, and by versions.
This is our first beta so we’d appreciate your feedback, particularly in these areas:
- What do you think of the new structure of the reference? Please compare the experience of accessing all of the products and runtimes in one spot against the experience of using the separate product-specific language references we have published to date.
- Is the content filtering feature useful? Content filtering lets you see only the products, runtimes, and versions you are interested in.
You can send us your feedback by using the feedback link in the version pod (top right popup in the reference).
The Adobe Flash Platform Documentation teams
AIR 1.5.1 was released on 2/24/09. Although it was a minor release, there were a few enhancements that you should be aware of.
New event that indicates if the application was launched manually by the user or automatically at login
The InvokeEventReason class (in the flash.desktop package) defines the two possible string values for the InvokeEvent.reason property. InvokeEventReason.LOGIN defines the login case; InvokeEventReason.STANDARD defines the standard case.
Jeff Swartz wrote a new quick start to explain how to use this new functionality.
New property to return processor architecture
This new property (Capabilities.cpuArchitecture in flash.system) returns the processor architecture of the machine, as a string (such as “PowerPC” or “x86″).
Using these new APIs
If you want to take advantage of these new AIR 1.5.1 APIs, update your application descriptor to use the 1.5.1 namespace:
If you do not need to use these new APIs, you do not need to update your application descriptor. Your application will be able to run with AIR 1.5.1 when the user updates the version of the runtime installed on their system.
You can find all the current AIR docs here: Adobe AIR resources