Loading Images into stage is much similar to loading text or html, we need a url request, a loader and then addchild. On this video tutorial we show how simple it is. Works for png, jpg and bmp.
HERE IS THE SOURCE CODE
//by AVRAHAM SALTOUN
// solutions at say-web dot com
// FREE TO USE AND DISTRIBUTE
// To load an image is pretty
//much similar to loading text
// we will need a URL request
// and a loader
var req:URLRequest = new URLRequest(“SayWebLogoLarge.png”);
var loader:Loader = new Loader();
loader.load(req);
// At this point the image is loaded
// but not displayed
addChild(loader);
// Has to be on the same folder
// I hope this helps
// thanks for watching!






One Response to “ActionScript 3.0 Video Lesson 26: Loading Images into Stage”
Trackbacks/Pingbacks
twenty minutes. therefore, it is necessary that…
you do not exceed it over five hundred words. along with that, the best article writer always concentrates well on the quality of the article. so make sure that the quality is not sacrificed.review your saved ideaskeep the list of ideas…