|
|
|
These examples demonstrate how to use the UILoader Component and AS 3.0 to load external images into your Flash files. Example 1 This example automatically loads an image into a UILoader Component when the Flash file runs by setting the source parameter in the Parameters panel of the UILoader Component equal to the file name of the external image file. Download the .fla file for this example. Download the three images for these examples: mypic1.jpg, mypic2.jpg, mypic3.jpg
Example 2 This example automatically loads an image into a UILoader Component when the Flash file runs using ActionScript 3.0. Download the .fla file for this example.
Example 3 This example loads three thumbnail images into three small UILoader Components using ActionScript 3.0 when the Flash file runs. Then the user clicks the thumbnail image to load the same image into a larger UILoader Component. Download the .fla file for this example.
Example 4 This example loads an image into a MovieClip container created with ActionScript 2.0, then scales the image 50 percent. Download the .fla file for this example.
You may also reach me at jsale37 (at) gmail.com |
![]()
12 Nov 2009 13:54:41 -0800