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 8135203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:20:35+00:00 2026-06-06T10:20:35+00:00

So, I’m making my own sequential loader. It has different functions for SWF, FLV

  • 0

So, I’m making my own sequential loader. It has different functions for SWF, FLV and image files. Now, to make it sequential (loading goes on one by one) I’ll use loader.contentLoaderInfo events and there are these two events called COMPLETE and INIT. After some reading, I understood that both events have some weaknesses in the terms of “completeness” of the loading. INIT seems a better option for images, while COMPLETE is for SWFs (I’m not sure which one is better for FLVs). The difference is little, but I’m worried about future problems regarding to it. Can you give me a suggestion on this?

  • 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-06T10:20:45+00:00Added an answer on June 6, 2026 at 10:20 am

    I used the complete event as a sign that the image was loaded for a batch image loader I put together as a demo project to attempt to preload data for a game, the code can be seen here (sorry for the poor project naming, they always start off as something else 🙂

    http://www.shaunhusain.com/DrawTextRandomly/srcview/

    demo here: http://www.shaunhusain.com/DrawTextRandomly/

    in src/util/imageLoading/BatchImageLoader.as

    I basically setup this class so I would give it the folder to load images from and a collection to populate, then tell it what the start and end numbers are for the set of images, the images are generated by Blender with it’s default file naming scheme using 0 padded counts for each frame, so I was able to make those animations exported from blender easy to load up into a collection that I can later use to do flipbook style animations.

    Let me know if this is helpful or you were looking for something more specific I might be able to answer. I’ve generally used complete to know when data is loaded regardless of type and haven’t experienced any issues (loaded images, mp3s, flvs, xml and I pretty heavily rely on COMPLETE to know when the data is ready to manipulate without issue so far, always possible there’s edge cases I haven’t encountered though).

    From reading a bit in the article as well it seems init may be fired earlier than complete before the full data is available, unless you’re concerned with manipulating the objects as early as possible, I think COMPLETE is probably a safer way to go. I believe the concern to wait for INIT is only if you’re attempting to use the SWFLoader or the like itself not the data directly from the Loader (though this is just a guess based on the article).

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace

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.