Fun with code (since 2006)

Adobe Flash Player 10.3 is live, and some Incubator refreshments!


05.13.11 Posted in Actionscript 3, Flash Player by

WasabiA few months ago, I was announcing the availability of Flash Player 10.2 and Flash Player 10.3 beta. Here we are with Flash Player 10.3 live on desktop and Android, introducing many features covered through this post.

I am also super happy to announce that we just released a new Incubator build introducing features we are currently working on (in bold the ones we introduce with this Incubator refresh) :

  • "Molehill" 3D APIs — A new set of low-level, GPU-accelerated 3D APIs that enable advanced 3D experiences across devices through the Adobe Flash Platform runtimes.
  • Cubic Bezier Curves — Using the cubicCurveTo drawing API, developers can easily create cubic Beziers without requiring custom ActionScript code.
  • Async bitmap decoding — http://www.bytearray.org/?p=2931
  • LZMA compression - http://blog.kaourantin.net/?p=124
  • G.711 audio compression for telephony — Save costs by using existing phone infrastructure to build telephony applications with industry standard audio compression for improved audio quality. The feature supports interoperability with legacy phone system (through Flash Media Gateway, FMG) and other third-party clients (through open RTMP protocol) without the need of transcoding.
  • H.264/AVC SW Encode for camera encoding — Build richer and more engaging applications with improved real time and non-real time (web-casting, and live casting) communications performance.  Industry standard support results in improved compatibility lowers cost of application deployment.
  • Native JSON Support (JavaScript Object Notation) — Save development cost and time by reusing existing JSON code for an Actionscript project. This feature enables Actionscript programmers to take advantage of fast parsing and generation of JSON-formatted text to represent their data through JSON.parse() and JSON.stringify() or describeTypeJSON.
  • Pause/sleep/resume Events — Improve application performance and reliability through a new ThrottleEvent.  This feature provides AS3 new event notifications by exposing an event to inform the content of the throttling, the content can send a message to the server so that server and client are kept in sync. For example, using Flex and LiveCycle with the Flash Player, a customer tries to use Flash Player to display reports. When the user switches to another tab and hides the Flex app, the Flash Player throttles the Flex app. The content is not informed of this change, so the server continues pushing data to the client Flex app. Eventually the application breaks under the load of data coming from the server while the app is throttled down.
  • Garbage Collector Advice — Provides a simple facility with which AS3 code can advise the GC on when to schedule the disruptive end-of-GC pause. Use System.pauseForGCIfCollectionImminent for this.
  • Socket Progress Events — A much awaited feature, provide a means by which content can determine how many bytes remain in the AS Socket's write buffer. Provide an event which will inform content whenever data is removed from the AS Socket's write buffer so that it may easily monitor the status of the write buffer without having to set up a timer and manually poll the size remaining in the AS Socket's write buffer.
  • Secure random number generator — Develop more secure client/server applications for the enterprise and end users. This feature will generate secure random numbers that are cryptographically as strong as the underlying operating system. Utilizing native OS APIs this feature will be used by Flash Player (eventually AIR) applications on the desktop and mobile platforms (Android) by Flash Platform Services.

As you can see, there is some really cool stuff coming up. We also fixed some stuff related to Molehill (bugs and little changes), we also fixed HW acceleration for Molehill in Chrome (it was disabled in the previous builds).

Remember to use -swf-version=13 compiler argument to unlock the Incubator features and -swf-version=12 for 10.3 features.

To author for 10.3 today, you will need also the 10.3 playerglobal.swc, available here.

To author for Incubator today, you will need also the Incubator playerglobal.swc, available here.

The documentation for latest Incubator builds (11.0.1.3) are located here.

Now, let's see the little improvements we brought, here is a list of little things you guys will appreciate too (in bold the ones we introduce with this Incubator refresh) :

  • DisplayObjectContainer.removeChildren — Removes all the children from a container.
  • MovieClip.isPlaying — Informs you if the MovieClip is currently playing.
  • Large Bitmap Support — No limitations in BitmapData sizes! Yes, really cool :)
  • Sound.loadCompressedDataFromByteArray and Sound.loadPCMFromByteArray — Allows you to inject compressed or PCM sound stream to the Sound object.
  • Added matrix goodies, with :
  • Matrix3D.copyFrom()
  • Matrix3D.copyRawDataFrom(), Matrix3D.copyRawDataTo()
  • Matrix3D.copyRowFrom(), Matrix3D.copyRowTo()
  • Matrix3D.copyColumnFrom(), Matrix3D.copyColumnTo()
  • Matrix3D.copyToMatrix3D()

Those little improvements are decided based on discussions we have with you guys on the Jira or just during conferences or even Twitter lately. We are actively working on a lot of other little improvements like those, stay tuned! I hope you guys will have fun with all this. I am back on my side on a new feature for super bad-ass profiling, more on this soon. ;)



72 Responses to “Adobe Flash Player 10.3 is live, and some Incubator refreshments!”

  1. [...] Flash Player 11 also brings us Native JSON [...]

     
  2. Jerry S says:

    I have searched extensively and this is the only place I have found a link to non-RC 10.3 playerglobal SWC. Is this the true production release of it? If so, bless you, sir!

  3. Thibault Imbert says:

    Hi Jerry S,

    Yes this is one is hard to find for now. Yes, it is the final production release SWC. We will post it too on the Flash Runtime Release blog.

    Thibault

  4. Jason says:

    OGG audio support, please??! :)

  5. abc@abc.com says:

    This is great , you guys fixed awaiting throttling issue.

    but still need to test it how it will work for my reporting tool.

  6. al says:

    What about DisplayObjectContainer.children returning a Vector. containing all children ?

  7. [...] Adobe Flash Player 10.3 is live, and some Incubator refreshments! [...]

     
  8. [...] Adobe Flash Player 10.3 is live, and some Incubator refreshments! [...]

     
  9. earl says:

    How can I use describeTypeJSON? I am authoring for FP11 using the Incubator playerGlobal.swc and I have declared “-swf-version=13″ as an additional compiler arguent.

    When I compile I get the following error:

    [core (Flex)] Call to a possibly undefined method describeTypeJSON.

  10. Antti H. says:

    Hi, any chance of having standalone debugger soon for incubator?

    I’d like to test the large bitmap support without web browser’s ugly memory limit ;)

  11. Pascal says:

    Is it possible to include into the new API some functionalities, such as degree elevation or flattening function…, for converting quadratic and cubic Bezier curves on the fly?

  12. Steven Johnson says:

    Hi, as an engineer on the Flash Player team, I’d like to point out that describeTypeJSON is *not* an officially supported public API; it’s intended for internal use for the Player only, so we’d advise against using it.

    That said, we hear the demand for a JSON-based describeType; you can track the progress and/or comment on it here: https://bugzilla.mozilla.org/show_bug.cgi?id=643455

  13. [...] changing if Adobe put even just this (Box2D) natively into Flash Player 11.1? Examples include the JSON just added (although… that’s in Corona today as well… hrm…). Those kind of [...]

     
  14. Hardik says:

    Hello,

    I am quite new to Flash Environment, i am using flash CS4 for my flash projects. now how can i export swf for Flash player 10.3 i have downloaded flashplayer_inc_playerglobal_051211.swc
    but i dont know how to use it. will you pls guide me.

    Thanx.

  15. Hardik says:

    please guide me how can i update my flash player 10 to 10.3 for flash cs4, so i can export swf for latest flash player.

  16. Wim says:

    “Large Bitmap Support — No limitations in BitmapData sizes!” I’ve tested this with Flash Builder 4.5 and Flash Player 10.3 installed and this seems not to be the case!

  17. [...] lot of people are excited about the news that Native JSON support is coming with Flash Player 11; however, I’ve also seen a lot of people get a bit confused by what this actually means [...]

     
  18. [...] classes, without extending them. Let’s take a look at another example. In Flash Player 10.3, the method “removeChildren” was introduced. If you want to use this functionality without worrying about the Flash player version, you can add [...]

     
  19. Damien Dessagne says:

    Hi there !

    Am I missing something or the MovieClip.isPlaying property only equals true when MovieClip.play() has been called ?

    I mean, when an instance of a MovieClip is put on stage through the Flash IDE, and so is “autoplaying”, isPlaying equals false … is this really intented to work like that ?

    Thanks !

    Damien.

  20. [...] lot of people are excited about the news that Native JSON support is coming with Flash Player 11; however, I’ve also seen a lot of people get a bit confused by what this actually means – if [...]

     

Leave a Reply

Open Sort Options

Sort comments by:
  • * Applied after refresh

ByteArray.org
Fun with code since 2006.