Cuyamaca Collegeskip to content
Apply & Enroll
Departments
Help for Students
Find People
Online Services
Campus Information
Student Activities
Graphic Design: 

 
Flash Distraction
of the Week

About TED

GCCCD Blackboard

GD 222
Home
Syllabus
Schedule
News
Labs
Videos
Flash Resources
Web Dev Resources

 

GD 222 Flash Web Animation - Spring, 2009
Online Course
http://www.cuyamaca.edu/jeff.sale/gd222/

Lesson Supplement
Loading Images with the UILoader Component
Baro

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.

 

 

Jeff Sale

E-mail: jeff.sale (at) gcccd.edu
Phone: 619-660-4000
Fax: 619-660-4399
Graphic Design, Cuyamaca College
You may also reach me at jsale37 (at) gmail.com

 

 

Page footer information

12 Nov 2009 13:54:41 -0800