# Setting Placeholder Dimension?

**URL:** <https://forum.kirupa.com/t/setting-placeholder-dimension/310732>\
**Category:** Uncategorized\
**Created:** [June 17, 2010, 5:14pm UTC](https://forum.kirupa.com/t/setting-placeholder-dimension/310732 "2010-06-17T17:14:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![el\_arcon](https://avatars.discourse-cdn.com/v4/letter/e/7ea924/32.png) [@el\_arcon](https://forum.kirupa.com/u/el_arcon)\
**Post date:** [June 17, 2010, 5:14pm UTC](https://forum.kirupa.com/t/setting-placeholder-dimension/310732/1 "2010-06-17T17:14:07Z")

</div>

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  
😕😕😕

```auto

 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??
