Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Hello World in Flash Lite

From 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 describes how to create the a "Hello World" application in Flash Lite.

Article Metadata
Article
Created: manikantan (30 Apr 2009)
Last edited: hamishwillee (13 May 2013)

Contents

Introduction

Flash Lite is a port of Adobe’s Flash, which is quite easily the most ubiquitous application on PCs. Just like J2ME was created for handheld mobile devices, Adobe marched into the mobile space with Flash Lite in early 2005.

With Flash Lite, you have infinite possibilities, starting from creating a wallpaper or a dynamic screensaver, to a polished application. To get started, you need to have a Flash SDK. You also need Adobe’s Device Central, which is the standard emulator to test your application. Most importantly Flash Lite is device or platform independent, which gives a larger audience to target.


Hello World application

To start with, open you Flash SDK ( or IDE ) and choose ‘Create New Flash Document’. Now you shall see, a blank stage. Now, select Publish settings under the File Menu and under Flash tab, select the choice of Flash Lite version in which you wish to publish. Flash Lite 2.0 and above support Actionscript 2.0. Depending on the content you wish to develop and target audience in mind, you need to decide on the Flash Lite version, you need to use. Remember, the lower version of Flash Lite player you use, more is your audience but less is its power. Later versions like Flash Lite 2.1 or Flash Lite 3.0 have outstanding capabilities including watching video files, access to PIM contacts and more.

After doing this, you need to set your Stage dimensions to those accepted in mobiles. Typically, 176 X 208 or even higher. So, with nothing selected on stage, select the Properties panel and change your stage dimensions. Note, you can automatically rescale your file, using a FSCOMMAND. Also set the frame rate to 12fps. This is the default value. Opening.JPG

Now with things set, select a basic Text tool from the Toolbar. And place it on the stage. Now enter HELLO WORLD inside the TextField. Once this is done, save you file and publish your content from the File Menu. When you publish, a SWF file is created. It is this SWF file that can be tested in our emulator or deployed in the handset.

HelloWorld Flash.JPG

Testing the content

Now open Adobe’s Device Central and locate your file for testing. Once this is done, select a device you wish to test the application on. In this case, the chosen device is the Nokia's N95. Dc.JPG

That’s it ! Hello World is as simple as that and so is Flash development.

Next step

Excited about learning Flash ? Here, is an outstanding link on where to proceed from here.

--manikantan 23:46, 30 April 2009 (EEST)

This page was last modified on 13 May 2013, at 23:48.
67 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×