I’m very very new on ActionScript 3.0 for mobile development.
I’m using loader class to load images. I’m loading ten images with different sizes. I’m trying to load them with a common size (300×300) doing this:
imageWordLoader = new Loader();
imageWordLoader.load(myImageLocation);
imageWordLoader.x = 20;
imageWordLoader.y = 60;
imageWordLoader.height = 300;
imageWordLoader.width = 300;
addChild(imageWordLoader);
But, I can’t see anything.
How can I do that?
I have done this to resolve my problem:
Now, I can use
Event.COMPLETE, but if I use Timo answer, I can’t use that event.And
onLoadedEventfunction is:Thanks for all of your answers.