Channels ▼
RSS

Mobile

Flash Lite: Graphics for Mobile Devices

Source Code Accompanies This Article. Download It Now.


Getting Started with Client Applications

The development tool of choice for Flash Lite applications is Flash 8 Professional, which comes with built-in Flash Lite 1.1 development tools. You can download a free, fully functional 30-day trial of Flash 8 Professional from Adobe (www.adobe .com). Support for Flash Lite 2, as well as new device emulators, is also available as free downloads from Adobe. If you are using Flash MX Professional 2004 for general Flash development, you can also generate mobile applications with that. However, you need to first install some DLLs and other necessary files manually.

As Figure 1 shows, the main Flash 8 window is different from other tools or IDEs. The timeline on the top of the screen shows the layers used in the application and points out the keyframe currently being worked on at the stage. On the right side, there is a collection of panels, including the library for storing objects. The property inspector is at the bottom of the screen.

[Click image to view at full size]

Figure 1: Main Flash 8 window.

To get started with development, start a new project by clicking the Global Phones link under Create from Template in the Flash 8 start-up screen. In the following dialog window, select Flash Lite 1-1 - Symbian Series 60, and then press OK.

Save the resulting blank application with a descriptive name (like "baseball.fla"). The .fla file format is used in the Flash Lite authoring phase. When the application is published (compiled) for installation on a real phone, the resulting file format is .swf.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Video