×
Namespaces

Variants
Actions
Revision as of 02:35, 14 May 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Scrollpane component in Flash Lite

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

We do not recommend Flash Lite development on current Nokia devices, and all Flash Lite articles on this wiki have been archived. Flash Lite has been removed from all Nokia Asha and recent Series 40 devices and has limited support on Symbian. Specific information for Nokia Belle is available in Flash Lite on Nokia Browser for Symbian. Specific information for OLD Series 40 and Symbian devices is available in the Flash Lite Developers Library.

This article demonstrates the Flash Lite scrollpane component. The scrollpane component can be used as a container to hold external images, SWF and scroll through them. The scrollpane component can also hold movieclips (linkage from library) and provide scrolling.

Article Metadata
Tested with
Devices(s): Nokia Xpress Music 5800
Article
Created: manikantan (27 Jun 2009)
Last edited: hamishwillee (14 May 2013)

Contents

Prerequisites

This component was developed in Flash 8 IDE and exported for Flash Lite 2.0 with ActionScript 2.0. It was tested on Nokia Xpress Music 5800. This component is designed for Touch devices.

Where to use

  • Imagine a large image of the dimension 800 X 600, where there is no way for the image to fit inside the limited mobile screen with a scale-down. But you might want image to be experienced by the user, in the original detail level. In such cases, a fraction of the total image is shown and you enable the user to navigate within the image. Hence, provision for scrolling is essential.
  • In the case of loading an external SWF ( with a long form type template - where the user will have to enter input), its advisable to import them into a scrollpane, as it preserves the readability and the UX.

How to use

Download the source file(FLA) given below. When you wish to use this component in your FLA, import this component from the downloaded file, using the FILE->IMPORT->OPEN EXTERNAL LIBRARY option and point it to the downloaded file. Now, use the scrollpane component by dragging it onto the stage.

Properties

To view the properties of the component go to (Window -> Component Inspector) and select the component in the Stage.

  • Content name : Takes the name of the image / SWF / MovieClip to be attached into the scrollpane component.
  • Content Type : Two accepted values - one is "Library Item", to denote that the target item is a part of the Library. other is "External Media", to denote an item that resides outside the SWF.

Preview

Mob pane.JPG

Shows the scrollpane component in action. Here, the two scrollpane components contain an internal SWF(library item) and an external image( the item below).

Downloads

You can download a sample illustrating the use of the scrollpane, here.Media:Mob pane.zip‎

This page was last modified on 14 May 2013, at 02:35.
89 page views in the last 30 days.
×