To make it possible to deploy SWF content on smartphones and other mobile devices that have limited processing power and memory availability compared to PCs, a tremendous amount of work has gone into to making Flash Player 10.1 “ready for mobility”. This work includes performance improvements, such as rendering, scripting, memory, start-up time, battery and CPU optimizations, in addition to hardware acceleration of graphics and video. Improvements in memory utilization and management, start-up time, CPU usage, and rendering/scripting performance benefit PCs as well as mobile devices.
Flash Player 10.1 also introduces new mobile-ready features that take advantage of native device capabilities – including support for mobile input models and accelerometer input -- bringing unprecedented creative control and expressiveness to the mobile browsing experience.
SWF Focus Mode
Flash Player 10.1 integrates seamlessly with Mobile Browsers that support Touch & Gestures through the use of SWF Focus Mode. The first tap over an embedded SWF will set “Focus” and allow drag events to go to Flash (if the content contains a listener for the event). This will enable users to interact with Flash content as needed, but still pan and zoom around the page as normal.
Mobile Text Input
Flash Player 10.1 provides support for use of native device virtual keyboards with TextField support if no physical keyboard is detected. A virtual keyboard is automatically raised and lowered in response to focus changes on text fields when editing text on mobile devices supporting a virtual keyboard to enable unobstructed and intuitive text editing. The focused text field is centered in the visible region of the page and appropriately zoomed/scrolled to ensure it is not obscured by the virtual keyboard. Upon screen rotation, incoming calls, or other system events, any already existing text input is retained. The virtual keyboard works with TextField but does not currently work with the Text Layout Framework or other Flash Text Engine text.
Easier Full-Screen Mode Activation
Because of the smaller screen real-estate on mobile devices, Full-Screen Mode will significantly enhance the user experience for media, game play, and other rich content. A new HTML Parameter, FullScreenOnSelection, will enable developers to allow their users to launch Full-Screen Mode with a single tap over the content.
Long-Tap to Full-Screen Mode
Users can now long-tap on any SWF and select Full-Screen Mode. The HTML Parameter AllowFullScreen is disabled for this feature, so that a user can activate Full Screen Mode for any SWF on mobile devices.
Optimized SWF Management for Mobile
Flash Player 10.1 optimizes SWF loading and playback for mobile CPU and memory limitations to provide a better user experience. Instances are loaded or deferred based on SWF priority, visibility and available memory and CPU resources to enable more immediate browsing experiences without waiting for every SWF on a page to load. Developers can indicate SWF priority through a new HTML parameter, hasPriority. Deferred instances are loaded after the HTML page load is complete, and off screen and invisible instances are started when they become visible. Flash Player will also automatically pause SWF playback it is not in view or the foreground application, for example when a call is received or alarm goes off, to reduce CPU utilization, battery usage and memory usage.
The Flash Player timer slows down when the mobile device goes into screen-saver or similar mode to reduce CPU and battery consumption on mobile devices. The timer returns to the default setting when a wake-up event is triggered. There is no interruption in audio/video playback. Incoming phone calls pause Flash Player.
Adaptive Frame Rate
Flash Player will monitor and lower the SWF frame rate to provide greater processing power for rendering, which can improve content usability and conserve CPU utilization on resource constrained mobile devices. If the frame rate drops below the threshold, Flash Player will drop frames to achieve the defined default frame rate of the SWF.