Loading External Image

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,374
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 1, 2009

This short tutorial will show you how to display an external image into your flash project using Actionscript

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • I don't know if you ever used flashdevelop before, but I need some help. I'm making a game and I can't get any sort of graphic to load at all, whether it'd be a shape, or an image. I can get text to load, but I can't load an image or shape. I used the exact code you typed in only with a different file name:

    var imgLocation:URLRequest = new URLRequest("spaceship.jpg");

    var imgLoader:Loader = new Loader();

    imgLoader.load(imgLocation);

    addChild(imgLoader);

    P.S I'm using FlashDevelop 4.0.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more