Loading an image into a Movieclip linked to a class in AS 3.0

This article will pick up where we last left off with ‘How do you load an image into a movieclip in AS 3.0?’ If you have not read the previous article, please do so. I will not be covering the creation of the image pod asset in this article. The following example will introduce you to the concept of associating classes with MovieClips. We will be using a main class that will add the image pod to...

How do you load an image into a Movieclip in AS 3.0?

How do you load a bitmap image (jpeg, gif,png) or SWF into a movieclip in AS 3.0? In the following example we will create a movieclip which resembles an AS 2 designers asset. We will add the asset to the stage ala attach movie, the AS 3 way and we will load an image into an empty movieclip that has been masked. Example – designer mc with a mask Lets start from scratch. Fire up Flash CS3 and Save it Select...
Coding Color | 2009 All Rights Reserved.