8 May 2012
8 May 2012
Games and applications commonly use full screen graphics and smooth expressive animations. This kind of content can cause performance issues when rendered directly in the Flash Player. However, by using hardware acceleration, you can target the desktop computer or mobile device's graphics processor to handle the heavy lifting and increase the playback performance of your content. A standard Flash animation usually runs at 24 frames per second (fps), whereas an animation using Direct mode can achieve performance improvements up to 60 fps.
Flash Professional CS6 allows you to use Direct mode to leverage the Starling framework for hardware accelerated 2D content (see Figures 1 and 2). Stage 3D requires Flash Player 11 or higher.
Figure 1: Choosing the Direct Window Mode allows you to create hardware accelerated content that runs on Stage 3D in Flash Player 11.x.
Figure 2: Choosing the Direct Render mode allows you to target the GPU for graphics processing in mobile devices.
See Stage 3D in the Flash Player Developer Center for more information.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
More Like This
- Designing for a multi-device, multi-resolution world
- Optimizing Flash performance
- Using the Adobe Flash Sprite Sheet Generator
- Optimizing performance for mobile AIR applications
- Using SWC files to build large Flash and AIR projects with multiple SWF files for iOS
- Optimizing content for Apple iOS devices
- Joining multiple SWF files into one SWF for iOS deployment
- Guide for Apple App Store submissions
- Saving state in AIR applications for iOS devices
- Blitting and caching movie clips in Flash