Optimizing web content for Flash Player 10.1

Last week I did an e-seminar about best practices when developing for Flash Player 10.1. The idea was to cover the new stuff in Flash Player 10.1 in terms of memory, cpu and other optimizations. For those who already saw the session called "Designing and developing for the Multiscreen web" that I did at Max '09, you will notice this session is a 2.0 version of the slides with some new and updated stuff and the designers optimizations section extended with content from the latest white paper I wrote related to Flash ads. I also had the time here to go into some details I could not cover in the past, cause this session is a re-recorded session from the Adobe e-seminar, so no "running out of time" issue.

This session sums up the two white papers I wrote lately on this topic. So if you did not read the papers or just want to share that with colleagues who did not want to read all that, this can be a good solution :)

Best Practices in optimizing content for Flash Player 10.1 from Thibault Imbert on Vimeo.

Comments (8)

  1. Cardin wrote:

    Thank you for the very informative video!! It reaffirms and helps me recall all the optimization techniques available in Flash, not just code-based optimizations. I do have a few questions though after watching the video.

    1. Will a vector Shape() object be faster & less memory than creating a BitmapCache, if the vector is simple enough? (like a ball with gradient colors) Or is Bitmap always faster than any kind of vector-based shape at all?

    2. You recommend a single ENTERFRAME for game control. What if I have objects that only update twice every second, while others every 33ms? Should I
    a. Use 30FPS, and countdown in AScript for every 100ms
    b. Use 20FPS (min rate for smooth animation), and use Timer() for 100ms, 30ms, 500ms, 1000ms etc.?

    Once again, thank you for taking the time to post such useful advice. =)

    Thursday, July 1, 2010 at 3:29 am #
  2. Cardin wrote:

    I forgot to mention my justification for the Scenario B of the 2nd question:

    If FPS is higher, Flash might have to animate more frames than necessary for a given animation of fixed time.

    Moreover, additional CPU load might come from counting down every frame, for those objects/functions that only execute once in every 500ms etc.

    Currently I use a hybrid, where I have my FPS at 20FPS for 50ms, then I create global 30ms, 500ms. I thus limit myself to this fixed timesteps, and the factors of these times like 60ms by counting down.

    Thursday, July 1, 2010 at 3:36 am #
  3. Franck wrote:

    Hey, nice demo.
    Do you think you could easily share the slides ?

    Thursday, July 1, 2010 at 7:47 am #
  4. Can we get this stuff formalized and placed somewhere on adobe.com, you have a few really great snippets of information. You gave this talk at http://flashcodersny.com a little while ago and I keep thinking back to what you said but it would be really great if there was an offical best practices document that changed per version of the player and was split up by topic like you have it. Maybe no talk about it as best practices because sometimes the fastest thing isn’t the best but it would be a great resource.

    Thursday, July 1, 2010 at 4:16 pm #
  5. Héctor wrote:

    I love to always make my content as optimized as possible, so I find all this stuff awesome :P.

    When will we see a “Best practices to work with XFL and SVN or other source repositories”? :P

    Friday, July 2, 2010 at 8:02 pm #
  6. Rezmason wrote:

    I have some questions that relate to optimizing graphics on mobile devices. But I don’t want to turn your comments section into a mile-long Q&A.

    Is there someone who I can email my question to, who has the time to read it and answer it?

    Saturday, July 3, 2010 at 6:25 pm #
  7. I am listening it already a 2nd time just because I want to stamp it into my brain.

    Anyway with one thing I am having a different opinion:

    I am having the experience that using as few as possible .swf’s is faster.

    HTTP requests can take a long time. Often alone the protocol overhead in a far environment can take like 200ms. In 200 ms you can transfer around 50kB without a problem (again experience value).

    Wednesday, July 7, 2010 at 4:43 pm #
  8. clarkemma451@gmail.com wrote:

    can you insall FLASH PLAYER 10.1 ON my devises

    Thursday, August 26, 2010 at 5:44 am #

Trackbacks/Pingbacks (7)

  1. Optimizing web content for Flash Player 10.1 : : IML on Wednesday, June 30, 2010 at 7:40 pm

    [...] [ 관련 링크 ] http://www.bytearray.org/?p=1827 [...]

     
  2. [...] Read the original [...]

     
  3. [...] Direct Link [...]

     
  4. [...] Один из разработчиков в своем блоге выложил видео подкаст “Optimizing web content for Flash Player 10.1” [...]

     
  5. [...] Optimizing web content for Flash Player 10.1 [ by Thibault Imbert ] [...]

     
  6. Summer AIR Mobile Contest 2010 CZ/SK — FlashRealtime.com on Wednesday, October 6, 2010 at 10:37 am

    [...] Optimizing web content for Flash Player 10.1 [ by Thibault Imbert ] – useful tips for making your application use less CPU and memory – Read [...]

     
  7. [...] and fluent it is. Stepan started building game as a mobile and implemented all recommendations from Optimizing Web Content for FP 10.1 a Optimizing Performance for the Adobe Flash Platform + AIR for Android GPU acceleration. Well [...]