Adobe
Produits
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Autres produits
Solutions
Marketing numérique
Médias numériques
Éducation
Services financiers
Administration
Web Experience Management
Autres solutions
Formation Aide Téléchargements Société
Acheter
Utilisation privée pour les particuliers et les travailleurs à domicile
Éducation pour les étudiants, les enseignants et le personnel administratif
Point de vente professionnel pour les petites et moyennes entreprises
Programmes de licences pour les entreprises, les établissements d'enseignement et l'administration
Autres options d'achat
Offres spéciales
Rechercher
 
Informations Se connecter
Bienvenue, Mon panier Mes commandes Mon Adobe
Mon Adobe
Mes commandes
Mes informations
Mes préférences
Déconnexion
Pourquoi dois-je me connecter ? Connectez-vous pour pouvoir gérer votre compte et accéder aux versions d'évaluation téléchargeables, aux extensions de produits, aux communautés, etc.
Adobe
Produits Rubriques Buy   Rechercher  
Solutions Société
Aide Formation
Se connecter Déconnexion Mes commandes Mon Adobe
Date de disponibilité estimée en précommandeDate. Votre carte bancaire sera débitée à l'expédition du produit. La date de disponibilité estimée est sujette à modification. Date de disponibilité estimée en précommandeDate. Votre carte bancaire sera débitée lorsque le produit sera disponible en téléchargement. La date de disponibilité estimée est sujette à modification.
Qté:
Votre achat est soumis à la vérification de votre éligibilité
Sous-total
Vérifier et régler
Adobe Developer Connection / Pôle de développement Flash /

Considerations when working with preloaders in Flash

par Tommi West

Tommi West
  • tommiland.com

Content

  • Avoid common preloader mistakes
  • Where to go from here

Created

16 January 2012

Partage

Partager sur Facebook
Partager sur Twitter
Partager sur LinkedIn
Signet
Imprimer

Tags

best practice Flash Professional preloader

Configuration requise

Connaissances préalables

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

Niveau de l'utilisateur

Toutes

Produits requis

  • 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

  • Preloading TLF runtime shared libraries in Flash Professional CS5.5
  • Common mistakes working with fonts and text objects in Flash
  • Avoiding common Timeline errors in Flash
  • Creating preloaders using ActionScript 3
  • Tips for using Flash efficiently
  • Avoiding common authoring mistakes in Flash Professional
  • Situations to avoid when writing ActionScript
  • Preventing animation problems in Flash
  • Issues involving project assets in Flash
  • Preventing problems with buttons and interactivity in Flash

Produits

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

Solutions

  • Marketing numérique
  • Médias numériques
  • Web Experience Management

Secteurs d'activité

  • Éducation
  • Services financiers
  • Administration

Aide

  • Centres d'aide sur les produits
  • Commandes et retours
  • Téléchargement et installation
  • Mon Adobe

Formation

  • Adobe Developer Connection
  • Adobe TV
  • Formation et certification
  • Forums
  • Pôle de création

Options d'achat

  • Pour les particuliers et les travailleurs à domicile
  • Pour les étudiants, les enseignants et le personnel administratif
  • Pour les petites et moyennes entreprises
  • Pour les entreprises, les établissements d'enseignement et l'administration
  • Offres spéciales

Téléchargements

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

Société

  • Salle de presse
  • Programmes partenaires
  • Responsabilité sociale de l'entreprise
  • Offres d'emploi
  • Relations avec les investisseurs
  • Événements
  • Secteur juridique
  • Sécurité
  • Contacter Adobe
Sélectionnez votre pays France (modifier)
Sélectionnez votre région/pays Fermer

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.

Conditions d'utilisation | Politique de confidentialité et cookies (Mise à jour)

Choix de Pub