Im very impressed with ActionScript 3.0 and how all the events work. I have been reading up lately on progress events specifically the open, progress, and complete events. You can manipulate these events in so many ways, it makes creating a preloader a breeze. For example, you can use the progress event to create a listener that tracks the progress of a file that is being loaded into your flash file. You can accomplish this in about 3-5 lines, then you can create an Event.COMPLETE listener that checks to see when the file that you are loading is complete then it calls a function which does something. Its so much easier than having to create 10-15 lines of AS2.0 code to determine how much has been loaded, etc.

Useful Events:

  • open
  • progress
  • complete
  • init
  • httpStatus
  • ioError
  • securityError
  • unload

I will be working on a script/demo to explain this further, look for it in the coming weeks.

Categories: ActionScript 3.0Flash

2 thoughts on “Part 1: ActionScript 3.0 LoaderInfo Useful Events”

magento development · February 27, 2013 at 1:56 am

The LoaderInfo class provides details about a packed SWF computer file or a packed picture computer file. LoaderInfo things are available for any display item. The details provided includes fill improvement, the URLs of the loading machine and packed content.

magento developer · February 27, 2013 at 4:22 am

I am modifying the flashvars factors v1=value&v2=value ect then after the display film operates I am modifying the factors on the outside by javascript, so far so excellent.when display first plenty it flows the vars properly.when I try to study them it keeps studying the old principles.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts


The Best of Web Conferences 2008

I have compiled a list of the most popular flash and web conferences that are offered around the world. Flash: Flash on the Beach Flash Forward Flash in the Can Flash Forum Web Design/Creative: Future Read more…

ActionScript 3.0

Common ActionScript 3 Errors and Explanations

So as with the new version of ActionScript there is a new level of complexity when it comes to creating ActionScript, but there seems to be better debugging too. The only barrier I have hit Read more…

ActionScript 3.0

Part 2: Using LoaderInfo Events to create reusable ImageLoader Class

Yesterday I created a post called ActionScript 3.0 LoaderInfo Useful Events which outlined some useful events in ActionScript 3.0 that can be used to listen for when things are open, loading, and complete. I used Read more…