Hi,
I want to create a gallery,
to do so, I need to create about 10 movieclips 100x100 on the stage
and load jpg/gif files into them.
How can I do it in AS3?
Thanks
Hi,
I want to create a gallery,
to do so, I need to create about 10 movieclips 100x100 on the stage
and load jpg/gif files into them.
How can I do it in AS3?
Thanks
just create a loader and a URLRequest, and have an event handler there for when the image is done loading
var loader:Loader = new Loader();
var mRequest:URLRequest = new URLRequest(“file”);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
loader.load(mRequest);
:: Copyright KIRUPA 2024 //--