Flash Lite components and code snippets

The following table contains information about ready-made Flash Lite components that you can download to your computer and use in your Flash Lite application.

Table: Flash Lite components

Use case

Description

Flash Lite Components

This resource file includes six ready-made Flash Lite components:

  • Button component

  • Contacts component

  • List component

  • Media data component

  • Pop-up component

  • Scrollbar component

You can use the components to develop applications for devices supporting Flash Lite 2.0 or newer. The components require Adobe Flash CS3 Professional or newer.

For detailed instructions on using the components in Adobe Flash, see the individual user manuals included in the resource file.

For generic instructions on creating and using Flash Lite components, see Guide to Flash Lite Components at Forum Nokia.

The following table contains links to example ActionScript code snippets that focus on common mobile application use cases. You can use the code snippets in your Flash Lite application.

Table: ActionScript code snippets

Use case

Description

Modifying calendar entries

This ActionScript 2.0 code snippet demonstrates how to browse, update, and delete calendar entries in the default calendar using the S60 Calendar Service.

You can also download an example Flash Lite application that uses this code snippet.

Modifying landmarks

This ActionScript 2.0 code snippet demonstrates how to list, edit, and delete landmarks using the S60 Landmarks Service.

You can also download an example Flash Lite application that uses this code snippet.

Importing landmarks

This ActionScript 2.0 code snippet demonstrates how to import landmarks from a landmarks file using the S60 Landmarks Service.

You can also download an example Flash Lite application that uses this code snippet.

Obtaining location information

This ActionScript 2.0 code snippet demonstrates how to discover the location (latitude and longitude) of the device using the S60 Location Service.

You can also download an example Flash Lite application that uses this code snippet.

Tracking changes in the current location

This ActionScript 2.0 code snippet demonstrates how to track the movements of the device using the S60 Location Service.

You can also download an example Flash Lite application that uses this code snippet.

Detecting device orientation

This ActionScript 2.0 code snippet demonstrates how to display data from the orientation channel using the S60 Sensor Service.

You can also download an example Flash Lite application that uses this code snippet.

For more use case examples, see the Flash Lite column of the Code snippets table for common use cases at Forum Nokia.