Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
More products
Solutions
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 / Flash Developer Center / Flash Professional glossary /

Flash glossary: Flex component

by Adobe

Adobe Flash Professional

Created

25 July 2010

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
components Flash Professional Flex workflow

Using Adobe Flash Professional, you can create content for use as components in Flex applications. This content can include both visual graphic elements and ActionScript 3 code.

Creating components in Flash for use in Flex allows you to take advantage of the flexible graphic design capabilities of Flash while still utilizing the capabilities of Flex.

In order to create Flex components in Flash, you must install the Flex Component Kit for Flash. You install the component kit using the Adobe Extension Manager.

To create a Flex component in Flash:

  1. Launch Flash. Two new commands appear in the Commands menu: Convert Symbol to Flex Component and Convert Symbol to Flex Container.
  2. In Flash, create a movie clip symbol containing the artwork and ActionScript 3 code you want to include in the Flex component. The content must be contained in a movie clip symbol before you convert it to a Flex component.
  3. The movie clip symbol must meet the following requirements:
    • The frame rate of the FLA file should be set to 24 fps and should match the frame rate of any Flex projects that will use the component.
    • The registration point of the movie clip should be located at the 0,0 point.
  4. Select the movie clip in the Library panel and choose Commands > Convert Symbol to Flex Component. Flash converts the movie clip to a Flex component, changes its icon to a Flex icon in the Library, and imports the FlexComponentBase class compiled clip to the Library. Flash embeds the FlexComponentBase into the Flex component SWC file created in the next step.
  5. Choose File > Publish to create a SWC file containing the compiled Flex component. The published component SWC file is now ready for use in Flex. You can discard the SWF file if desired.
SWF settings for SWC

To use the SWC file in Flex, do one of the following:

  • Copy the SWC file from Flash and paste it into the bin folder of your Flex project.
  • Add the SWC file to library path of your Flex project.

For more information about using Flex and Flash together, refer to Working with Flash Professional and Flash Builder in the Flash documentation, as well as the tutorial, Combining animation and ActionScript using Flash Professional CS5 and Flash Builder 4.


Tools used

  • Actions panel
  • Library
  • Property inspector
  • Publish profile

Related concepts

  • ActionScript
  • Movie clip symbol
  • Output panel
  • SWC

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

More Like This

  • Creating mobile projects with the shared assets feature and the Project panel in Flash
  • Using the Flash OSMF Media Player template
  • Web video template: Media presentation with details
  • Creating ActionScript 3.0 components in Flash – Part 2: MenuBar component prototype
  • Code snippets for beginning ActionScript 3 programmers and designers
  • Customizing the FLVPlayback component
  • Exploring the Flash video templates and tutorials
  • Learning Flash CS4 Professional
  • Approaching ActionScript from a designer's perspective
  • Creating the Kuler panel for Flash CS3 Professional

Flash User Forum

More
04/23/2012 Auto-Save and Auto-Recovery
04/23/2012 Open hyperlinks in new window/tab/pop-up ?
04/21/2012 PNG transparencies glitched
04/01/2010 Workaround for JSFL shape selection bug?

Flash Cookbooks

More
02/13/2012 Randomize an array
02/11/2012 How to create a Facebook fan page with Flash
02/08/2012 Digital Clock
01/18/2012 Recording webcam video & audio in a flv file on local drive

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps

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