The Flash Player 11/AIR 3.0 (Serrano) release fulfills a long-standing developer request by introducing a native ActionScript JSON API. With this API, you can import and export objects using JSON encoding. Native JSON functionality correlates closely with the ECMA-262 (5.1 Edition) specification for JSON. Because of this, its syntax is somewhat different from the third-party as3corelib JSON library. You can find out more about these differences in community member Todd Anderson’s blog posting at the Infrared5 company blog.
The API itself consists of a top-level class named JSON. This class provides two methods:
stringify() for encoding, and
parse() for decoding JSON strings. The JSON feature also supports
toJSON() member functions in any class. Visit the official documentation at these locations:
ActionScript 3.0 Reference
ActionScript 3.0 Developer’s Guide
Flash Media Server 4.5 is out the door! Download the development version of the server and check out how cool it is to stream on-demand and live video to media players running in Flash/AIR and iOS devices.
After you download the development server, here are some tutorials to get you started:
For detailed information about HTTP streaming to Flash and iOS, see Configure HTTP Dynamic Streaming and HTTP Live Streaming.
Other new features in Flash Media Server 4.5:
Enjoy, and please let me know if you have any questions.
The Adobe AIR 3 Release Candidate is available, and includes this new feature: Native extensions for Adobe AIR.
Until now, native extensions were available on AIR for TV, but not for AIR on desktop or mobile devices. Now you can create an ActionScript library that can execute native code on all these devices. This means an AIR application developer, using ActionScript, can take advantage of platform-specific and device-specific native capabilities.
We’ll blog here about documentation and examples as they become available. In the meantime, you can read more about it in this Adobe Developer Connection article: Extending Adobe AIR.
And get the AIR 3 Release Candidate download to get started.
Flash Player 10.3 beta software is ready for download at Adobe Labs! Flash Player 10.3 provides key features for developers, content publishers, and end-users. Adobe urges the developer community and technically savvy users to test these new features, which include:
- Media measurement — Implement your own video analytics.
- Acoustic echo cancellation — Create real-time online collaboration experiences that provide high-quality audio without requiring a headset.
- Integration with browser privacy controls for managing local storage — Users can easily clear local storage from the browser settings interface.
- Native Control Panel — New streamlined controls make it easier to manage Flash Player privacy, security, and storage settings.
- Auto-update notification for Mac OS — Mac users: Get automatic notification of Flash Player updates on Mac OS, and stay current with the latest capabilities.
Flash Player 10.3 beta supports these features on the desktop. Adobe plans to bring them to mobile devices in the future.
Watch upcoming entries on our blog for more detailed descriptions. Also, stay tuned for a new posting of the Adobe ActionScript 3.0 Reference that describes Flash Player 10.3 APIs.
See the official FAQ: http://icomm.corp.adobe.com/Library/?pid=55466
When you view content on YouTube, you don’t have to wait for the content to download to skip ahead to the end of the file. Progressive download is dead, this is on-demand HTTP streaming.
Use Adobe HTTP Dynamic Streaming to serve on-demand video over HTTP on your web site.
- Download the File Packager
- Download the Apache HTTP Origin Module
- Install the HTTP Origin Module to Apache HTTP Server 2.2
- Use the File Packager off-line tool to package an FLV, F4V, or MP4 file for HTTP streaming.
- Copy the packaged files to the Apache webroot folder.
- Play the files in Flash Media Playback or OSMF Sample Player for HTTP Dynamic Streaming.
These are the high-level steps, for the nitty-gritty, check out the On-demand HTTP Dynamic Streaming tutorial.
To stream live media over HTTP to Flash/AIR, use Flash Media Server. Check out the Live HTTP Dynamic Streaming tutorial in the FMS Developer’s Guide.
Flash Media Enterprise Server 4 is now available on Amazon Web Services:
Use Flash Media Server on Amazon Web Services to create social media games, multicast live events, and deliver streaming video like the pros (think Hulu and mlb.com) for pennies on the hour with no fear of success–when your business takes off, you can stand on the shoulders of Amazon as your grow. You’ll never have to buy or maintain any hardware or software. Ahhhh. Sounds relaxing, right? You pay only the Amazon Web Services $5 monthly charge and pennies an hour for bandwidth and machine time. For more information about pricing and benefits, see the FMS on AWS product page at adobe.com.
The FMS on AWS documentation walks you through setting up an Amazon Web Services account, ordering and launching Flash Media Server, and verifying that the server is running. It also includes the following tutorials:
And yes, you can build P2P apps with FMS on AWS. Start with the Multicast streaming tutorial, then check out Tom Krcha’s P2P game-building tutorials at flashrealtime.com.
Flash Player 10.2 is available from Adobe Labs. The Beta ActionScript 3.0 Reference documents the 10.2 APIs:
The big feature in 10.2 is StageVideo which leverages hardware acceleration. Check out Adobe Evangelist Lee Brimelow’s StageVideo tutorial.
This release also adds the MouseCursorData class and new properties on the Mouse class. Check out an example from Mihai Corlan, Working with Native Custom Cursors in Flash.
Flash Media Server 4 shipped on 9/9. Check out the official announcement from Product Manager Kevin Towes.
The docs are available from http://www.adobe.com/support/flashmediaserver:
Note: The Plug-in Developer’s Guide is now a chapter in the Developer’s Guide.
To try Flash Media Server, download the developer edition.
As of August 24, Adobe’s newest service for AIR application developers (codenamed Melrose) is available as a public beta. Go to http://labs.adobe.com/technologies/melrose/ to download the Melrose SDK and access the Melrose Portal to distribute your applications.
What (you may ask) is Melrose? In short, Melrose is a monetization service for developers and distributors of AIR applications. Using Adobe® Flex® Builder™ 3, Adobe® Flash Builder™ 4, or Adobe® Flash® Professional CS5, you can add try and buy functionality to your apps. You can then use Melrose to distribute your apps to multiple online stores. The Intel AppUp Center and the Adobe AIR Marketplace are the first two storefronts available in Melrose.
Melrose is a new addition to the Adobe® Flash® Platform Services, which together enable developers to add social and collaborative capabilities to applications, then distribute, track, and monetize them. See http://www.adobe.com/flashplatform/services/ for information.
Melrose helps AIR app developers with the following tasks:
Try and buy
When you are developing an AIR application, you embed the licensing SWC in your application, then enter code to specify the price and trial periods online. You can also add try and buy functionality to existing applications.
When customers purchase your applications, the Melrose service keeps track of the income from each of your applications. You are paid at regular intervals, typically once a month.
Reports are available online via the Melrose Portal. In this initial release you can view information regarding revenue, active trials, expired trials and downloads. These reports collect data from everywhere you distribute your application with Melrose–not just from apps that are downloaded from the Adobe AIR Marketplace.
Sound interesting? Go to http://labs.adobe.com/technologies/melrose/ to learn more and try it out for yourself.