You are Here:Home>>Old Posts>>Tutorial | Loading an external .jpg, .png, or .gif bitmap image file in ActionScript 3.0

Tutorial | Loading an external .jpg, .png, or .gif bitmap image file in ActionScript 3.0

Carlos Pinho
By | 2008-04-14T20:10:58+00:00 Apr 14, 2008|Old Posts|

Tutorial loading external images as3

In AS3, loading external images dynamically is done slightly differently than in ActionScript 2. Whereas in AS2, we could just use the loadMovie() method of the MovieClip class, this is no longer the case. Instead we have to use the Loader class, as well as the URLRequest class. This actually gives us more flexibility when loading external images, because of the various events of the Loader object that we can create event listeners for.

Read the tutorial and download source files

About the Author:

Carlos Pinho
A father, a husband and a geek... Carlos was the founder of projects like The Tech Labs and Flash Enabled Blog. He is the founder of TekTuts He is passionate about technologies. Their main skills are in analytics, transport & logistics, business administration. He also writes about programming resources, trends, strategy and web development.

Leave a Reply