# Lib-linkaged-BitmapData ignores the width and height?

**URL:** <https://forum.kirupa.com/t/lib-linkaged-bitmapdata-ignores-the-width-and-height/226702>\
**Category:** Uncategorized\
**Created:** [May 23, 2007, 9:16am UTC](https://forum.kirupa.com/t/lib-linkaged-bitmapdata-ignores-the-width-and-height/226702 "2007-05-23T09:16:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awflasher](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/awflasher/32/3562_2.png) [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Post date:** [May 23, 2007, 9:16am UTC](https://forum.kirupa.com/t/lib-linkaged-bitmapdata-ignores-the-width-and-height/226702/1 "2007-05-23T09:16:25Z")

</div>

Well, I have a bitmap imported to my lib, and I linkaged it with a name “PNGBitmapData”,  
Then I can use new PNGBitmapData(WW,HH) to create this bitmap, it’s very convenient. But as the constructor of “BitmapData” receives two parameters as width and height, i can specify the size of this PNG image.  
But no matter what number i use, even (0,0), the bitmap is just shown there. Nothing is different.  
So, are these numbers just ignored by the FlashPlayer ?
