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

  • SEARCH
  • Home
  • 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 6341943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:08:29+00:00 2026-05-24T20:08:29+00:00

How does the browser load flash files? Do they load progressively, or does the

  • 0

How does the browser load flash files? Do they load progressively, or does the browser wait until the entire flash file is loaded before displaying it?

The reason is I have a tiny clip that is extremely high in quality, only a few seconds long, but it’s over 4 mb.

Will the user have to wait until all 4 mb is loaded before viewing? Or does it load as the user watches it?

I didn’t do anything fancy, I just imported a .flv into Flash, and exported as a .swf.

Thank you in advanced

  • 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-05-24T20:08:30+00:00Added an answer on May 24, 2026 at 8:08 pm

    There are many parts to loading a flash file, and more generically, an HTML page.

    I’m going to start from the top with the HTML page, and I urge others to correct any mistakes I may have made.

    Loading a Page

    When an HTML page is received, the browser parses it into the Document Object Model (DOM) so that it has a programmatic representation of every element. Browsers iterate over every node in the DOM tree and populate it as-needed.

    For most nodes this is simply creating a new DOM element like a div, p, or a; however some content requires loading or replacement.

    form elements (input, select, button, textarea) are replaced with the browser-specific representation of those form fields.

    link elements used as stylesheets are asynchronously loaded. The DOM continues to parse the page as the external resource is being loaded.

    script elements on the other hand, are synchronously loaded. The DOM is unable to continue parsing the tree until the script has finished loading and executing, with exceptions for if the loading failed or the execution had an error.

    img elements are asynchronously loaded, but allow for the onload callback to determine when they have finished loading. The DOM can’t trigger the window’s onload event until all img elements have finished loading (or failed).

    Understanding the basic elements helps with understanding more involved elements like object, embed, and iframe, which are also replaced content.

    Flash is typically embedded on a webpage using object, embed and iframe.

    As far as I’m aware, object and embed elements react similarly so I will shortcut and say object from here on out.

    There are distinct differences between loading flash in iframe and object elements.

    The object element is very similar to a script element where the content must be successfully loaded and executed before the DOM can continue to be parsed.

    The iframe element is very similar to an img element where the contents are loaded asynchronously, but a callback may be used to determine when the loading has finished (although I’m not sure about whether the callback is available for cross-domain requests).

    Loading Flash

    The previous section discusses just the HTML side of content loading. However, there are a number of nuances within flash that can severely affect the load time of a flash movie.

    As I stated before, script elements must be fully loaded and executed before the DOM can continue being parsed. A similar effect is found within Flash files (even when included via an iframe). All resources embedded within the swf must be loaded before the swf can release its hold on the page loading progress.

    If you’ve embedded a video directly into the timeline, the entire video must load before flash can be considered done with its initial execution.

    If, instead, you chose to use an asynchronous callback to start loading an external resource that happened to be a video, and used an asynchronous loader to load the video, you wouldn’t have to wait for the video to be finished loading before the rest of the page could be loaded; within flash, you’d still need to wait for the video to finish loading before beginning playback of the video.

    Alternatively, there are a number of means within flash to either stream videos, or progressively load a video from a server, which would enable the video to be played without being finished loading. My experience with that particular aspect of flash is minimal, so I won’t explain how it’s done.

    Using a library like swfobject allows the desired swf to be loaded asynchronously so that flash loading is non-blocking.

    tl; dr:

    Flash files may be loaded progressively depending on how you’ve structured your HTML, and what code is running in the swf.

    You may want to look into swfobject

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

Sidebar

Related Questions

Does any body know how browser(IE, Firefox, Chrome) load web page? I think they
how does browser (firefox/safari) detects that website you are visiting is infected? Do they
I have a main flash from wich i load another swf file from the
How does browser load javascript? In an HTML page we have code written inside
As you might know, browser's security model does not allow a script loaded in
I generate some images using a PHP lib. Sometimes the browser does not load
The browser does this by calling public void emulateShiftHeld() method on the WebView which
I understand that the browser does all the work in processing client side scripts
After a few tests, I'm starting to reach the conclusion that a browser does
Similar to this question , after running the following code the browser dialog does

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.