Added: 2 years ago
From: LumenbriteTraining
Views: 1,335
Sort by time | Sort by thread (beta)

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...
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