Summary of the content on the page No. 1
GETTING STARTED WITH
® ™
FLASH LITE 1.x
Summary of the content on the page No. 2
© 2007 Adobe Systems Incorporated. All rights reserved. Getting Started with Flash® Lite™ 1.x If this guide is distributed with software that includes an end user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electroni
Summary of the content on the page No. 3
laws of the United States. Adobe Systems Incorporated, 345 Park Avenue, San Jose, CA 95110-2704, USA. For U.S. Government End Users, Adobe agrees to comply with all applicable equal opportunity laws including, if appropriate, the provisions of Executive Order 11246, as amended, Section 402 of the Vietnam Era Veterans Readjustment Assistance Act of 1974 (38 USC 4212), and Section 503 of the Rehabilitation Act of 1973, as amended, and the regulations at 41 CFR Parts 60-1 through 60-60, 60-250,
Summary of the content on the page No. 4
Summary of the content on the page No. 5
Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 What’s new in Flash Lite authoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Guide to instructional media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 Typographical conventions . . . . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 6
6
Summary of the content on the page No. 7
Introduction This manual provides an introduction to Macromedia® Flash® Lite™ 1.x from Adobe and describes how to test your content using the Adobe® Device Central CS3 emulator, which is part of Adobe® Flash® CS3 Professional. The primary difference between using Flash Lite in Flash CS3 and in previous versions of Flash is that the Flash Lite emulator is now part of Device Central. See the Device Central documentation for more information. What’s new in Flash Lite authoring Flash includes
Summary of the content on the page No. 8
Guide to instructional media The Flash Lite documentation package includes the following media to help you learn how to create Flash Lite applications: ■ Getting Started with Flash Lite 1.x provides an overview of Flash Lite 1.x technology and developing Flash Lite content for mobile devices. It also includes a step-by-step tutorial for creating a Flash Lite 1.x application. ■ Developing Flash Lite 1.x Applications is a comprehensive guide to creating Flash Lite content, and includes instru
Summary of the content on the page No. 9
Additional resources For the latest information on developing Flash Lite applications, plus advice from expert users, advanced topics, examples, tips, and other updates, see the Mobile and Devices Developer Center at www.adobe.com/ go/developer_flashlite. For TechNotes, documentation updates, and links to additional resources in the Flash Lite developer community, see the Adobe Flash Lite Support Center at www.adobe.com/go/support_flashlite. Typographical conventions The following typograph
Summary of the content on the page No. 10
10 Introduction
Summary of the content on the page No. 11
CHAPTER 1 Flash Lite Overview 1 This chapter contains the following topics: About Flash Lite technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Flash Lite 1.x availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 About Flash Lite content types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Workflow for authoring Flash Lite applications. . . . . . . . . . . . . . . . 14 Flash Lite authoring features. . . . . . . . . .
Summary of the content on the page No. 12
Text and fonts Flash Lite supports static, dynamic, and input text fields. You can use fonts that are available on the device or embed font data in your published SWF file. For more information about using text and fonts in Flash Lite, see Chapter 2, “Working with Text and Fonts” in Developing Flash Lite 1.x Applications. Sound Flash Lite 1.0 and Flash Lite 1.1 both support device audio formats (such as MIDI or MFi). Flash Lite 1.1 also supports standard Flash audio. For more information
Summary of the content on the page No. 13
Globally available devices that support Flash Lite include the Symbian Series 60-based devices from Nokia, Sendo, and Seimens, and the Symbian UIQ-based devices from Sony-Ericcson. As of this writing, all globally available devices support only the stand-alone Flash Lite player. The stand- alone player installs as a “top-level” application that a user can start from the device’s application menu (just like a text messaging application or a mobile web browser, for example). For more informat
Summary of the content on the page No. 14
Each Flash Lite content type, paired with a specific device, defines a specific set of Flash Lite features that are available to your application. For example, a Flash application that's running as a screen saver is not typically allowed to make network connections or download data. The Flash Lite testing features in Flash let you test against multiple devices and different Flash Lite content types. This lets you determine if your application uses features that aren't available for the type
Summary of the content on the page No. 15
The following figure illustrates the iterative development and testing process described above. Testing in the Adobe Device Central emulator Editing the FLA file in Adobe Flash CS3 Testing on a device Flash Lite authoring features This section discusses the features in Flash designed specifically for Flash Lite developers. With the exception of the device templates feature, the following features are only available when your document’s Version setting on the Flash tab of the Publish Settin
Summary of the content on the page No. 16
The Property inspector contains a section that provides information about your current device settings, as well as a button that lets you open the Device Settings dialog box. This button is active only when your document’s Version setting on the Flash tab of the Publish Setting dialog box is set to Flash Lite 1.0 or Flash Lite 1.1. Device Settings button Current content type and test device Document templates provide a starting point for you to create different types of Flash Lite content f
Summary of the content on the page No. 17
As the following figure shows, Flash Lite document templates are organized into several groups, including Global Handsets and Japanese Handsets. The name of each template in each group includes the target device name and screen size. The Global Handsets category contains templates for creating full-screen applications for the stand-alone Flash Lite 1.1 player on Series 60 and UIQ platforms. The Japanese Handsets category contains templates for creating content for devices available in the
Summary of the content on the page No. 18
Hello World Flash Lite application In this section, you create a simple Flash Lite application and test it in the Adobe Device Central emulator. The purpose of this tutorial is to acquaint you with the mobile authoring and testing features in Adobe Flash CS3 Professional as well as the general workflow for creating Flash Lite content. For a more complete sample application, see Chapter 2, “Creating a Flash Lite Application,” on page 21. First, you need to decide which devices and Flash Lit
Summary of the content on the page No. 19
6. In the Tools panel, select the Text tool and drag to create a text box on the Stage. Type Hello, world! (or other text) in the text box. 7. Select Control > Test Movie to export your application to Adobe Device Central and view your application in the Adobe Device Central emulator. Note: During testing in Device Central, you can change the device and content type to see your application on a different platform. To do this, double-click a device in the Available Devices panel and select
Summary of the content on the page No. 20
About the stand-alone Flash Lite player The stand-alone Flash Lite 1.1 player is an application that allows you to open and view SWF files that reside on your device’s memory card, that you browse to in your device’s mobile web browser, or that you receive in your device’s messaging in-box over Bluetooth® wireless technology or an infrared connection. As of this writing, the stand-alone player is available globally for the following platforms and devices: Series 60 platform: ■ Nokia 3600,