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");
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.
IanHulett 4 months ago