Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions
  • Government

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy 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
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flash Developer Center /

Strategies for organizing Flash projects

by Tommi West

Tommi West
  • tommiland.com

Content

  • Forgetting to create folders to store files in the Library panel
  • Using the Flash-generated symbol names, rather than renaming symbols
  • Placing all of the code for an entire project on Frame 1 of the Timeline
  • Adding frame scripts to any layer of the Timeline, instead of only the top layer
  • Where to go from here

Created

16 January 2012

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
best practicefile managementFlash Professional CC
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

Previous experience working with Flash Professional is recommended. Refer to Avoiding common authoring mistakes to find links to other articles in this series.

User level

All

Required products

  • Flash Professional CC (Download trial)

A well-organized Library panel in Adobe Flash Professional helps make your projects easy to understand and maintain. It also helps you speed development time when making updates to an existing project. This article contains suggestions to keep your assets manageable, even when building larger projects.

Forgetting to create folders to store files in the Library panel

If you click the New Folder icon at the bottom of the Library panel, you create a folder within the Library. When creating a folder, be sure to rename it descriptively, rather than keeping the default name that Flash assigns (see Figure 1).

Figure 1. Click the New Folder button to add a new folder to the Library.
Figure 1. Click the New Folder button to add a new folder to the Library.

Use the folders to store related assets. For example, if an animation features a dog, a fisherman, and a boat, you could create three different folders that contain all of the imported artwork and symbols used for each of these.

Click and drag elements in the Library panel to place them inside the folders you create. You can also create subfolders if desired. The folders in the Library do not reduce performance of the published SWF and they do not add additional file size. Using Library folders helps you quickly locate specific items to be edited and helps other developers see how your project is structured by reviewing the Library panel.

Depending on the project, you may also find it helpful to link to Runtime Shared Libraries, rather than import all of the assets needed into the main project's Library panel. In the Library panel, click the icon to access the Options menu in the top right corner. From the menu that appears, select the option Runtime Shared Library URL. In the dialog box that appears, enter the path to the Runtime Shared Library SWF file (see Figure 2).

Figure 2. Type the URL to the Runtime Shared Library in the dialog box.
Figure 2. Type the URL to the Runtime Shared Library in the dialog box.

To learn more about working with Runtime Shared Libraries, see Sharing library assets at runtime in the Flash Professional online documentation.

Using the Flash-generated symbol names, rather than renaming symbols

After selecting an element (either on the Stage or in the Library) you can press F8 to open the Convert to Symbol dialog box. If you simply choose a symbol type from the menu (movie clip, button, or graphic) and click OK, the symbol is created in the Library and the element on the Stage is updated to display a symbol instance. If you do not name the symbol, Flash names them uniquely for you, as Symbol 1, Symbol 2, and so on (see Figure 3).

Figure 3. If you do not name each symbol as it is created, Flash generates a name with ascending numeric valuse to ensure each symbol is assigned a unique name.
Figure 3. If you do not name each symbol as it is created, Flash generates a name with ascending numeric valuse to ensure each symbol is assigned a unique name.

It is a best practice to always name symbols at the moment you create them. It is frustrating to open someone else's Flash project to see the generic symbol names listed in the Library panel. Without descriptive names, you can click on each asset in the Library one by one to preview and rename them, but the process of renaming may break animations that are set up to use the generically named symbols.

Placing all of the code for an entire project on Frame 1 of the Timeline

If you are creating a banner ad or very simple Flash project, it may be simple enough to create a new layer in the Timeline, drag it to the top of the Layer stack, name it Actions and then add your ActionScript code to Frame 1 of the Actions layer.

However, if you are building a more complex project, the common convention involves creating a shell frame script on Frame 1 that initiates the project, and then creating additional, modular class files (AS files) and linking to them externally from the project.

Avoid the temptation to add lengthy and complex code all on Frame 1 of the top layer, because this makes the code much harder to parse when working in teams or opening up the project later to make updates.

Adding frame scripts to any layer of the Timeline, instead of only the top layer

If you add frame scripts to all of the various layers in the main Timeline, Flash will not present an error message. However, you may cause other developers (or yourself) to hunt for the code later when a project needs to be updated.

Although you can use the Movie Explorer to locate all of the scripts used in a project, it is time-consuming. You can also scan the Timeline looking for the lowercase a symbols on frames. This practice quickly becomes tedious, especially when working with a longer Timeline.

For these reasons, it is optimal to create a new layer in the Timeline and drag it to the top of the Timeline. Name the top layer Actions (or ActionScript) and use the top layer exclusively for adding frame scripts (see Figure 4).

Figure 4. Create a layer specifically for adding frame scripts and drag it to the top of the Timeline.
Figure 4. Create a layer specifically for adding frame scripts and drag it to the top of the Timeline.

That way, the scripts are much easier to find and you are following the convention used by Flash developers to only add one object to each layer in the Timeline.

Where to go from here

Whenever you are creating a new project, take the time to organize the assets so that you can quickly access everything you need. Create folders in the Library panel and the Timeline to consolidate elements for each section. Always use descriptive names for symbols and layers so that you can identify them easily.

The following sections in the Flash Professional documentation include other helpful organization tips:

  • Structuring FLA files
  • Organizing ActionScript in an application
  • Create and organize layers

Refer to Avoiding common authoring mistakes to find links to other articles in this series.

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

More Like This

  • Flash glossary: Guide layers
  • Flash glossary: Frame script
  • Flash glossary: Frame label
  • Five demos of Flash CS4 Professional
  • Working with the Project panel in Flash Professional CS5.5
  • Optimizing Flash performance
  • Avoiding performance issues in Flash
  • Situations to avoid when writing ActionScript
  • Preventing animation problems in Flash
  • Issues involving project assets in Flash

Products

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

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 © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy (Updated) | Cookies

Ad Choices