I get a lot of complaints and criticisms about my artwork. Usually from people who aren't that great at drawing either. So I made a game to prove they can't draw worth crap either called
You Can't Draw for S***. But it's got a big bug I just found, in the gallery editor. When I uploaded it to spamtheweb I noticed that when you load images it just shows up as a white rectangle or square depending on the dimensions of the picture. I worked fine on my computer, when I tested it but online it only shows up as a blank white picture. There's a glow filter around the picture so you can see it loads the size of the image, but it's just a white block. Does anyone know why it might be doing this?
The problem might be somewhere in here.
var x_mcl:MovieClipLoader = new MovieClipLoader();
x_mc = _parent.createEmptyMovieClip("x_mc", 40);
x_mcl.loadClip(_parent.imagebox.text, _parent.x_mc);
x_mcl.addListener(this);
this.onLoadInit = function(target) {
var image:BitmapData = new BitmapData(target._width, target._height);
var scale:Number = 1;
if (image.height > image.width) {
if (image.height > 250) {
scale = 250 / image.height;
}
} else {
if (image.width > 250) {
scale = 250 / image.width;
}
}
var trans:Matrix = new Matrix(scale, 0, 0, scale, 0, 0);
var imageScaled:BitmapData = new BitmapData(image.width * scale, image.height * scale, false, 0xffffff);
imageScaled.draw(target, trans);
_parent.image_mc._x = startx + (250 - (image.width * scale)) / 2;
_parent.image_mc._y = starty + (250 - (image.height * scale)) / 2;
}