Wiley 978-0-470-18207-9 Datasheet

Browse online or download Datasheet for Software manuals Wiley 978-0-470-18207-9. Wiley Adobe AIR: Create - Modify - Reuse User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 20
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Luchner c01.tex V3 - 03/20/2008 2:29pm Page 1
The Development
Environment
A reliable development environment will save you loads of time when you are ready to debug and
deploy your applications. This chapter explains how to install and use command-line tools in build-
ing an AIR (Adobe Integrated Runtime) application. This chapter follows a slightly different format
than the following chapters, as it introduces the development process in building applications in
AIR, and provides an overview of common tools.
The following section, ‘‘SDK Installation,’’ explains where to download and how to install the Flex
3 SDK, which includes all required tools and APIs (Application Programming Interfaces) to build
Flex and AIR applications. This section covers the basics of the development environment and
provides a brief overview of the command-line tools that are used throughout the book to deploy
AIR applications.
The section ‘‘Building Your First Application’’ walks you through the process of building your first
AIR application, focusing on how to use the command-line tools to deploy, debug, and package
your application for installation.
The section ‘‘Installing and Uninstalling’’ explores the installation process of an AIR application
and the storage of application files on a user’s machine.
The final section, ‘‘Extra Tools,’’ addresses two additional ways for developers to ease the develop-
ment process: an Apache Ant build scheme to help automate the build process and a simple debug
panel to receive basic trace statements from AIR applications.
SDK Installation
Adobe AIR is a cross-platform runtime that runs desktop applications compiled under the AIR
framework. By containing two primary web technologies, Flash and HTML, Adobe AIR enables
developers to deliver the same Rich Internet Application (RIA) experience to the desktop. It is
COPYRIGHTED MATERIAL
Page view 0
1 2 3 4 5 6 ... 19 20

Summary of Contents

Page 1 - COPYRIGHTED MATERIAL

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 1The DevelopmentEnvironmentA reliable development environment will save you loads of time when you are rea

Page 2 - SDK Installation

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 10Chapter 1: The Development Environmentxmlns:mx="http://www.adobe.com/2006/mxml"layout="ve

Page 3 - Command-Line Tools Overview

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 11Chapter 1: The Development Environmentthen you will have to manually enter the directory in which J ava

Page 4

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 12Chapter 1: The Development EnvironmentNow all that is left is packaging the application into an AIR file

Page 5 - Code and Code Explanation

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 13Chapter 1: The Development Environment/assets/imagesHelloWorld.png/binHelloWorld.swfBy running the follo

Page 6 - 3. Save the file as

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 14Chapter 1: The Development EnvironmentFigure 1-1Figure 1-2While waiting for the money to roll in, peruse

Page 7

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 15Chapter 1: The Development Environmentaccessed using theFileclass from the AIR API, as you will see in t

Page 8 - Compiling

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 16Chapter 1: The Development EnvironmentTo uninstall an AIR application on Windows, follow these steps:1.

Page 9 - Previewing and Debugging

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 17Chapter 1: The Development EnvironmentApache ANT (from here on referred to as ANT) is a Java tool that u

Page 10 - 2. Save the file as

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 18Chapter 1: The Development Environment<property name="store.type" value="pkcs12"

Page 11 - Packaging

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 19Chapter 1: The Development Environment</exec></target><target name="package" if

Page 12

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 2Chapter 1: The Development Environmentnot assumed that you have an Integrated Development Environment (ID

Page 13 - Installing and Uninstalling

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 20Chapter 1: The Development EnvironmentAfter running this command, you will be prompted to input the task

Page 14

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 3Chapter 1: The Development EnvironmentOn Windows:1. Open System from the Control Panel.2. Click the Advan

Page 15

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 4Chapter 1: The Development EnvironmentIn addition, if theamxmlcis set to debug mode when compiling the SW

Page 16 - Extra Tools

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 5Chapter 1: The Development EnvironmentWithin this directory —C:/Development/AIRor/Development/AIR— will r

Page 17

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 6Chapter 1: The Development Environment<installFolder>AIRCMR/HelloWorld</installFolder><pro

Page 18

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 7Chapter 1: The Development EnvironmentThefilenameelement reflects the name given to the application and is

Page 19

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 8Chapter 1: The Development EnvironmentTo top off this mug of magic, aLabelcomponent is included, with the

Page 20 - Simple Debug Panel

Luchner c01.tex V3 - 03/20/2008 2:29pm Page 9Chapter 1: The Development EnvironmentBasic options were purposely included in the entered command, and i

Comments to this Manuals

No comments