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 / Flash Developer Center /

Considerations when working with preloaders in Flash

by Tommi West

Tommi West
  • tommiland.com

Content

  • Avoid common preloader mistakes
  • Where to go from here

Created

16 January 2012

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
best practice Flash Professional preloader

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 (Download trial)

This article contains details about working with preloaders in Adobe Flash Professional so that you can configure projects to display content more efficiently and keep users informed of the SWF-loading process.

Preloaders are designed to appear as SWF content loads in the background. They are often animated graphics that hold the user's attention and provide a better playback viewing, rather than users staring at a blank screen and wondering if anything is happening.

In some cases, preloaders are also configured to display a progress bar or a numeric value that indicates the amount of content that has loaded. This feedback is helpful because the user understands that the loading process is almost complete.

Avoid common preloader mistakes

Two conditions interfere with preloaders:

  • If any class is set to export on Frame 1, the preloader won't appear until the class(es) have completely loaded.
  • If any component is set to export on Frame 1, the preloader won't appear until the component(s) have completely loaded.

Follow these steps to resolve either issue:

  1. In the Library panel, right-click each of the components. In the menu that appears, select the Properties option.
  2. In the Symbol Properties dialog box, deselect the option to Export on Frame 1. Click OK.
  3. Choose File > Publish Settings. Locate the ActionScript version menu near the top. To the right of that menu, click the ActionScript settings button (wrench icon).
  4. In the ActionScript Settings dialog box, enter 2 in the Export classes in frame field, instead of exporting the classes on Frame 1 (see Figure 1).
Figure 1. Set the classes to export on Frame 2, instead of Frame 1, in the ActionScript Settings.
Figure 1. Set the classes to export on Frame 2, instead of Frame 1, in the ActionScript Settings.

Note: Use caution whenever adding third-party preloaders to your projects. Take the time to read the code and comments (if available) to understand the logic thoroughly.

Where to go from here

To learn more about creating and incorporating preloaders into your Flash projects, read the following articles and online documentation:

  • Preloading in Flash (Senocular.com)
  • Creating preloaders using ActionScript 3
  • Load external SWF files into a parent SWF file (TechNote)
  • Use the ProgressBar component (Using ActionScript 3 Components)
  • Building a custom Flex preloader

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

  • Creating ActionScript 3.0 components in Flash – Part 8: Keyboard support
  • Exploring the new 3D features in Flash CS4 Professional
  • Creating ActionScript 3.0 components in Flash – Part 4: Events
  • Creating ActionScript 3.0 components in Flash – Part 3: From prototype to component
  • Creating ActionScript 3.0 components in Flash – Part 5: Styles and skins
  • Creating an accessible animated presentation in Flash
  • Guide for Apple App Store submissions
  • Tips for using Flash efficiently
  • Avoiding common authoring mistakes in Flash Professional
  • Preventing animation problems in Flash

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
  • 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