• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Loading External Assets > LOADING JPGS DYNAMICALLY

LOADING JPGS DYNAMICALLY

Now that you’ve learned how to load an external movie into a project, the process of dynamically loading a JPG should be easy: It’s almost identical to that of loading an external SWF. As demonstrated in the previous exercise, the loadMovie() action is used to load an external SWF into a target. You’ll then use the same action to load an external JPG as well—but with a twist. Take a look at the following syntax:

					loadMovie("myBitmap.jpg", "_root.myClip");
				


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint