Asynchronous Bitmap Decoding

Must Read

Student Debt Consolidation – Obtain Huge Benefits

Student debt consolidation is a financial process wherein a number of college loans are refinanced and consolidated to a...

Marketing Guide Book Book marketing: A guide to intelligent distribution

Read more.. Book marketing: A guide to intelligent distribution Available at Amazon Howdy Visiter. Are you looking for Book marketing: A guide...

5 Good Reasons to Refinance Your Home Mortgage

Based on study conducted by the Mortgage Bankers Association of America indicates that every four years Americans take out...

A series of Accounting Information Systems

If you run a business information available to decide. There are a lot of information in the enterprise data...

Vibration Composer

Vibration Composer is probably the strangest app in this part of the book. A cross between a musical instrument...

Canon 7D, Using a Custom White Balance

Throughout this book, I’ve discussed several of the white balance settings and when to use them. One white balance...

An improvement to AIR 2.6 allows the decoding of bitmaps on a separate thread. To take advantage of this, use the LoaderContext class as follows:


import flash.system.LoaderContext;
import flash.display.Loader;
var lc:LoaderContext = new LoaderContext();
lc.imageDecodingPolicy = ImageDecodingPolicy.ON_LOAD;
var loader:Loader = new Loader();
loader.load(new URLRequest(“image.jpg”, lc);


This improvement also works with Loader.loadBytes().

The asynchronous decoding allows animations to play smoother. For instance, while you have an animation running, you can now load another graphic in the background without concern that the process will temporary interrupt the animation.

Previous articleCustom Cursor
Next articleCaching Assets

Latest News

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place at the...

More Articles Like This