Hi guys,
I'm in the middle of teaching whilst doing with AS3 and have come across and image loading issue.
I can't find any workable solutions from browsing le google. (feel free to point me to the solution if you know where it is
)
Using Flash Pro CS5.5
I have created a movie clip container with the same dimensions as my image that I want to load (width: 100px, height: 350px)
Using the follow loader:
But for some reason the image gets stretched outside of the container. Does anyone know why / how to correct it?
(Stage size 1280x720)
I'm in the middle of teaching whilst doing with AS3 and have come across and image loading issue.
I can't find any workable solutions from browsing le google. (feel free to point me to the solution if you know where it is

Using Flash Pro CS5.5
I have created a movie clip container with the same dimensions as my image that I want to load (width: 100px, height: 350px)
Using the follow loader:
Code:
import flash.net.URLRequest;
import flash.display.Loader;
var img1Request:URLRequest = new URLRequest("images/TEST.png");
var img1Loader:Loader = new Loader();
img1Loader.load(img1Request);
_1.addChild(img1Loader);
But for some reason the image gets stretched outside of the container. Does anyone know why / how to correct it?
(Stage size 1280x720)