Friday, 29 August 2008

Using the loader component

This Flash tutorial will teach you how to use the loader component. This allows you to load images dynamically and easily update your images faster without having to edit the images within the Flash document. This tutorial uses the built in Flash component called: Loader component.

Be sure all your images are in the same folder as your .fla file or your images will not load up. I have used a free stock image of a monkey which is available at: www.sxc.hu

Using the loader component

Step 1

Open a new Flash document and set the dimensions of the document to the same size as your images.


Step 2

Select Window > Components > User interfaceand then drag the loader component onto the stage. With the loader component selected drag the component so that it is the same size as your stage.




Step 3

Now with the loader component selected click the parameters tab at the bottom of the screen. And change the contentPath to whatever your image is called; remember to include the file extension. My image is called “monkey.jpg”. Make your image is in the same directory as your .fla file. This process can be acheived with actionscript, checkout the tutorial.



The loader component does not have to load images it can also load swf files.


Step 4

Test your movie clip Ctrl + Enter.



You should now be able to use the loader component.

0 comments:

  COPYRIGHT © 2014 · ILIKE2FLASH · Theme by Ourblogtemplates

Back to TOP