hello there guys…,
i want to ask how to make a placeHolder in flash actionscript 3…,
what i do need to know is that how to sett a placeholder width and height
import flash.display.*;
var placeHolder:Sprite = new Sprite();
addChild(placeHolder);
placeHolder.width = 350;
placeHolder.height = 350;
var myLoader:Loader = new Loader();
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE , onComplete);
myLoader.load(new URLRequest('*someIMAGE*');
function onCOmplete():void
{
placeHolder.addChild(myLoader.content);
}
why is that by that kind of code the placeHolder width and Height become 0??