ActionScript 3.0 Video Lesson 26: Loading Images into Stage

Wed, Sep 2, 2009

ActionScript


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

//Loading Images into Stage using ActionScript
//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!

Related Articles:

, , , , , , , , , , , , , ,

One Response to “ActionScript 3.0 Video Lesson 26: Loading Images into Stage”


Trackbacks/Pingbacks

  1. 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…

Leave a Reply

You must be logged in to post a comment.

My name is Avraham Saltoun, and I live in Jerusalem, Middle East. I am currently on my mid  40's and I am a computer programming technician. Here you will find over one hundred quality video tutorials on Actionscript, and yes, I give online support for aspiring programmers, and pros as well, sharing screen on skype and delivering source code by email, click the button for live flash actionscript support now!

 
oDesk Certified Action Script Programmer
oDesk Certified Adobe Flash CS3 Designer
oDesk Certified Adobe Photoshop 6.0 Designer
Skype Me™!

$7.49 .Com! Score Savings Cartoon Smart Tutorials


839
Unique Visitors
Previous 30 Days
Powered By Google Analytics