Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Adobe AIR Developer Center / AIR Quick Starts for ActionScript developers /

Building the Quick Start sample applications with Flex

by Adobe

Adobe AIR

Modified

10 June 2010

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Adobe AIR Flex

Requirements

User level

Intermediate

The sample applications contained in the Quick Start topics demonstrate some of the most important or popular aspects of specific Adobe AIR features.

Getting started

To get started working with the Quick Start sample applications, follow these steps:

  1. Set up your development environment so that you can work with the sample code and compile and test the applications. For more information, see Setting up the Flex SDK.
  2. Download the sample application source files from the online location linked in each of the Quick Start topics.
  3. Install the sample applications using either of the following techniques (depending on which development environment you're using).

Flash Builder users

  1. Start Flash Builder and create a new project (see Creating your first Flex AIR application in Flash Builder).
  2. Give the project the same name as the sample application's main application file (for example, for the sample that contains TextEditor.mxml, name the project TextEditor).
  3. Under Application type, choose Desktop application (runs in Adobe AIR).
  4. Advance to the last page of the New Flex Project wizard.
  5. Verify that the name of the main application file for the project matches the name of the main application file in the sample.
    Important: The file extension defaults to .mxml. If the main application file of the sample is an ActionScript file, then you must change the extension to .as.
  6. Click Finish to create the project.
  7. Flex Builder will automatically open the newly created MXML or ActionScript file. Close this file because it will be overwritten in the next step.
  8. Copy the source files from the sample application ZIP file to the project source folder. (You can open the archive folder and drag the files directly into the project source directory in the Flex Builder Navigator panel.)

Note: To change the main application file of an existing project, open the project Properties dialog box, select the Flex Applications page, and add the new file as the default runnable application file. Then remove the old file from the list of runnable application files.

Flex SDK users

  1. Unzip the sample application files into a folder on your computer. Create a new folder for each, if you like.
  2. With the SDK properly installed and configured (the SDK added to your class path), you're ready to test the samples.

Next steps

Follow the instructions in the Quick Start topics to edit, run, and debug the applications.

For more information, refer to the following resources:

Flash Builder users:

  • Developing AIR applications for the desktop

Flex SDK users:

  • Using the ActionScript compilers
  • Using the AIR Debug Launcher (ADL)
  • Packaging an AIR installation file using the AIR Developer Tool

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement