By Adobe
 
Created
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 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.
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.
 
 
Tools used
 
Related concepts