Siemens GETTING STARTED WITH FLASH User Manual

GETTING STARTED WITH FLASH
®
LITE™ 1. x
© 2007 Adobe Systems Incorporated. All rights reserved.
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, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement.
The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide.
Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law. The unauthorized incorporation of such material into your new work could be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the copyright owner.
Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization.
Adobe, the Adobe logo, Flash Lite, and Flash are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Third-Party Information
This guide contains links to third-party websites that are not under the control of Adobe Systems Incorporated, and Adobe Systems Incorporated is not responsible for the content on any linked site. If you access a third-party website mentioned in this guide, then you do so at your own risk. Adobe Systems Incorporated provides these links only as a convenience, and the inclusion of the link does not imply that Adobe Systems Incorporated endorses or accepts any responsibility for the content on those third­party sites.
Sorenson™ Spark™ video compression and decompression technology licensed from Sorenson Media, Inc.
Fraunhofer-IIS/Thomson Multimedia: MPEG Layer-3 audio compression technology licensed by
Fraunhofer IIS and Thomson Multimedia (http://www.iis.fhg.de/amm/).
Independent JPEG Group: This software is based in part on the work of the Independent JPEG Group.
Nellymoser, Inc.: Speech compression and decompression technology licensed by Nellymoser, Inc. (http:www.nelly-moser.com).
Opera ® browser Copyright © 1995-2002 Opera Software ASA and its suppliers. All rights reserved.
Macromedia Flash 8 video is powered by On2 TrueMotion video technology. © 1992-2005 On2 Technologies, Inc. All Rights Reserved. http://www.on2.com.
Visual SourceSafe is a registered trademark or trademark of Microsoft Corporation in the United States and/or other countries.
Updated Information/Additional Third Party Code Information available at http://www.adobe.com/go/thirdparty/.
Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.
Notice to U.S. Government End Users. The Software and Documentation are “Commercial Items,” as that term is defined at 48 C.F.R. §2.101, consisting of “Commercial Computer Software” and “Commercial Computer Software Documentation,” as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R.
§§227.7202-1 through 227.7202-4, as applicable, the Commercial Computer Software and Commercial Computer Software Documentation are being licensed to U.S. Government end users (a) only as Commercial Items and (b) with only those rights as are granted to all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the copyright
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, and 60-741. The affirmative action clause and regulations contained in the preceding sentence shall be incorporated by reference.

Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
What’s new in Flash Lite authoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Guide to instructional media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Typographical conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1: Flash Lite Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Using Flash Lite document templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Hello World Flash Lite application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
About the stand-alone Flash Lite player . . . . . . . . . . . . . . . . . . . . . . . . . 20
Chapter 2: Creating a Flash Lite Application. . . . . . . . . . . . . . . . . 21
Café application overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Viewing the completed application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Creating the application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5
6

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 the following new features to help developers create Flash Lite applications:
Adobe® Device Central emulator Adobe Device Central includes an
emulator that lets you preview your content as it will function on an actual device. The emulator can configure itself to mimic the features available on any supported device. The emulator also provides debugging information that alerts you to potential problems and incompatibilities on the target device.
Device Settings Adobe Device Central lets you select your test devices
and Flash Lite content type. When you test your content in the Device Central emulator, you can choose the test device you want the emulator to mimic.
Device document templates Adobe Flash CS3 Professional includes
document templates to let you quickly start creating content for specific devices and content types.
7

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 instructions for testing your applications in Adobe Device Central.
Flash Lite 1.x ActionScript Language Reference describes all the
ActionScript language features available to Flash Lite developers, and provides example code.
Learning Flash Lite 1.x ActionScript complements the language
reference and provides additional code examples and an introduction to writing Flash 4 ActionScript, upon which Flash Lite 1.x ActionScript is based.
The Flash Lite sample applications at www.adobe.com/go/
learn_flt_samples_and_tutorials demonstrate key concepts and best
practices discussed or mentioned in the written documentation.
8Introduction

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 typographical conventions are used in this book:
Italic font indicates a value that should be replaced (for example, in a
folder path).
Code font indicates ActionScript code.
Code font italic indicates an ActionScript parameter.
Bold font indicates a verbatim entry.
Double quotation marks ("") in code examples indicate delimited
strings. However, programmers can also use single quotation marks.
Typographical conventions 9
10 Introduction
CHAPTER 1

Flash Lite Overview

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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Using Flash Lite document templates. . . . . . . . . . . . . . . . . . . . . . . . 16
Hello World Flash Lite application . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
About the stand-alone Flash Lite player . . . . . . . . . . . . . . . . . . . . . . 20

About Flash Lite technology

Macromedia Flash Lite from Adobe is a version of Adobe Flash Player designed for mobile devices. It balances Flash features and capabilities with the processing power and configurations of today’s mass market mobile devices. There are currently two versions of Flash Lite 1: Flash Lite 1.0 and Flash Lite 1.1, collectively known as Flash Lite 1.x. Flash Lite 1.x consists of the following features:
The core rendering engine The rendering engine handles all vector and
bitmap rendering.
ActionScript interpreter Flash Lite supports the version of the
ActionScript language used in Macromedia® Flash® Player 4 from Adobe, including many mobile-specific commands, such as getting time and date information from the device. This hybrid of Flash Player 4 ActionScript and commands with properties specific to Flash Lite is collectively called Flash Lite 1.x ActionScript.
For more information about Flash Lite 1.x ActionScript, see Flash Lite 1.x ActionScript Language Reference and Learning Flash Lite 1.x ActionScript.
1
11
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 about working with sound in Flash Lite, see Chapter 3, “Working with Sound” in Developing Flash Lite 1.x
Applications.
Network connectivity Flash Lite 1.1 supports the ability to load external
data and SWF files, as well as commands and properties for getting connectivity and HTTP request status information.
Device and platform integration Flash Lite provides access to several
system features and commands, such as the ability to initiate phone calls and short message service (SMS) messages, get platform capability information, and get user input using the device’s standard input dialog box.

Flash Lite 1.x availability

Flash Lite 1.0 and Flash Lite 1.1 are supported on a variety of mobile devices that are available in a number of different geographic regions and markets. Some of these devices are available globally, while others are available only in specific geographic regions or from specific mobile operators. Some devices come with Flash Lite pre-installed from the device manufacturer or mobile operator, while on others it can be installed after purchase.
For the most current list of devices that support Flash Lite, see the Supported Devices page located at www.adobe.com/go/
mobile_supported_devices/.
12 Flash Lite Overview
Loading...
+ 26 hidden pages