Flash Lite 4 features

Improved interactivity and navigation

Flash Lite 4 offers various features to improve the interactivity and navigation for users of mobile devices. Some of these features are present in earlier versions of the Flash Player but not supported in Flash Lite. These features are now supported in Flash Lite 4.

Multi-touch support

Flash Lite 4 introduces multi-touch support to handle multi-touch events and native gesture events. All mobile devices that support this feature respond to multiple touch points on the screen. In addition, a series of incoming touch point data can be processed into higher level gestures.

Text and font enhancements

Flash Player 10 text engine

Flash Lite 4 supports the new Flash Player 10 text layout engine. This engine supports complex and two-way language, TrueType font, and advanced features, such as rotation, masking, and so on. The new engine has been developed for memory optimization and high performance. For more information, see Flash text engine.

Using inline text input

In Flash Lite 4, background events can continue during an inline text input, which was not possible in the earlier versions. In addition, with this release, restricted mode is not applicable and ActionScript is processed during inline text entry. For more information, see Using inline text input.

Video enhancements

RTMP data channel

ActionScript 3.0 uses the AMF 3 format for serializing and deserializing ActionScript objects. This format sends object traits and strings in addition to object instances. In addition, AMF 3 supports some of the data types introduced in ActionScript 3.0. For more information, see RTMP.

RTMPE

Flash Lite 4 supports encrypted RTMP streams. This means that Flash Lite requests an encrypted version of a media stream from Adobe® Flash® Media Server 3. Flash Lite then decrypts that stream on the mobile device. For more information, see RTMPE.

RTMPT and RTMPTE

In Flash Lite 4, RTMPT and RTMPTE are enabled through HTTP. As a result, RTMP packet transmissions are enabled for users attempting to connect behind a firewall that blocks any transmission attempt. For more information, see RTMPT and RTMPTE.

Multi bit-rate streaming

Flash Lite 4 supports dynamic bit-rate switching when streaming from the Flash Media Server. As a result, the application can adapt to the dynamic changes in network conditions while streaming recorded content. For more information, see Multi bit-rate streaming.

New device APIs

Flash Lite 4 enables you to obtain the geographical location and directional acceleration values of a mobile device with the introduction of two device APIs.

Geolocation

This feature allows you to register for the location updates from the onboard location sensor of a mobile device. The device returns its geographical location in the form of latitudinal and longitudinal coordinates. For more information, see Geolocation.

Accelerometer

The Accelerometer enables you to obtain the acceleration data of a device through an accelerometer sensor installed on the device. This data represents the location of the device along a three-dimensional axis or the movement of the device along the three-dimensional axis. For more information, see Accelerometer.

Shared object behavior changes

The shared object implementation in Flash Lite 4 is fully compatible with Flash Player 10 SWF files.

Flash Lite 4 supports all methods of the ActionScript 3.0 SharedObject class. A SWF file runs the same way in Flash Lite 4 as it does on Flash Player 10. The only difference is that there is no Settings Manager on the device. As a result, the storage size of a shared object is restricted to less than 100 kb per domain. If the storage size increases above 100 kb, then shared object transactions fail.

Mobile devices generally have less storage and memory capacities. By restricting the storage size, you reduce the disk storage and access overhead on these devices. For more information about remote shared objects, see www.help.adobe.com.

Note: Any new content in ActionScript 3.0 must be authored according to Flash Player 10 documentation.

Remote shared objects

With Flash Lite 4, you can create and use remote shared objects. These objects are shared in real time by all clients connected to your application. If a client changes the property of a remote shared object, the change is applicable for all other clients that are connected.

For more information about remote shared objects, see www.help.adobe.com.

ActionScript extensions

The Extensions feature in Flash Lite 4 allows third-party developers to add features and ActionScript APIs to Flash Lite using a static or dynamically linked library. The DLL provides the implementation for the features, and Flash Lite allows the DLL to be used by calling ActionScript APIs. As a result, you can interact with APIs that are exposed by host devices. To do so, you write a DLL that bridges the capabilities of the device and the Flash Player. These extensions can be statically or dynamically linked to the host implementation. For example, using this capability, developers can write applications that access the device’s filing system, or use GPS data provided by the device, and so on.

Note: The ActionScript Extensions feature is available to third-party developers only if it is enabled by the manufacturer of the target device.

Testing and debugging

Adobe Device Central CS5 lets you test and debug your Flash Lite projects on various device. You can emulate device display, memory use, and performance on specific devices.

Partially Supported Classes

For the detailed list of classes that are partially supported for this release, see Introduction to Flash Lite 4 ActionScript.

Unsupported Classes

For the detailed list of classes that are not supported for this release, see Introduction to Flash Lite 4 ActionScript.