Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7776439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:53:03+00:00 2026-06-01T17:53:03+00:00

As the title says, the file loads correctly but the loading screen only flashes

  • 0

As the title says, the file loads correctly but the loading screen only flashes up at the end.

The only thing being exported in frame 1 is the loader image, and that is extremely small.

Is it possible that there’s a queue of things being loaded and the loader image is at the bottom of that queue? Since that was one of the last things added to the project

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:53:05+00:00Added an answer on June 1, 2026 at 5:53 pm

    If your preloader only shows up after the file has loaded, this means that you still have other objects being linked onto Frame 1. Flash is very picky about this, and it’s easy for things to be yanked onto Frame 1 regardless of your settings. When you compile, Flash builds a dependency graph to determine what items are needed on each frame. If it thinks an asset is needed earlier than the export frame setting, it will ignore the setting and push the asset onto that frame. In particular, any class that your document class directly references will be automatically yanked onto frame 1.

    Checking “Generate size report” in File, Publish Settings, Flash can help you see how much data is being exported onto Frame 1. Here are some tips to ensure that everything is linked onto the proper frame:

    • In Publish Settings, Flash, ActionScript Settings, make sure that “Export frame for classes” is set to 2 or higher.
    • Ensure that library symbols say “Export on frame 2” in their linkage properties. Older versions of Flash may export them on frame 1, regardless of the class export frame. In this case, you’ll have to do the oldschool method of unchecking the “Export on frame 1” option, and manually dragging these symbols onto the timeline on frame 2.
    • Do not directly reference classes from your document class or on the main timeline. The Document class and all the assets it references are always placed on frame 1. Anytime you do var f : MyClass; in your document class or on the root timeline, then you are referencing MyClass, and Flash will automatically yank it onto frame 1.

    To avoid directly referencing your main app class in your preloader, you want to instantiate it indirectly, using something like this:

    var gameClass : Class = flash.utils.getDefinitionByName("Game") as Class;
    var game : Sprite = new gameClass();
    

    In this case, your Preloader becomes the document class, and indirectly creates the Game class when the SWF has loaded. This avoids any direct references to Game and its content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As the title says, can I do this with a POSIX file descriptor? In
As title says need to convert a Zip file to text file , no
as the title says: Anyone know about any good/simple multiple file upload script that
As the title says it, I have a huge xml file (GBs) <root> <keep>
As the title says, how can i generate the default mongoid.yml config file on
As the title says I use the Rails gem that works good but I
As the title says, I want the ‘select file’ dialog to open when a
Basically what the title says: what's the process for compiling your average go* file?
Like the title says, what is the difference between a program object file (.o
As the title says none of my tableview controller methods are being called. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.