# Adding a bitmap from library

**URL:** https://forum.kirupa.com/t/adding-a-bitmap-from-library/285966
**Category:** flash
**Created:** [April 8, 2009, 9:35am UTC](https://forum.kirupa.com/t/adding-a-bitmap-from-library/285966 "2009-04-08T09:35:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RossKidd](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@RossKidd](https://forum.kirupa.com/u/RossKidd)
#### Post date: [April 8, 2009, 9:35am UTC](https://forum.kirupa.com/t/adding-a-bitmap-from-library/285966/1 "2009-04-08T09:35:06Z")

</div>

Hi,

I have a bitmap in the library that is exported for actionscript (pricingQuote)

var testy:Bitmap= new pricingQuote(100, 100);  
addChild(testy);

without the two variabes I get  
Argument count mismatch on pricingQuote(). Expected 2, got 0.

with them I get

Type Coercion failed: cannot convert pricingQuote@413d63a1 to flash.display.Bitmap.

All I want to do is add the bitmap at it’s actual size. Do I really need the size parameters.

I **could** wrap it in a movieclip but I would prefer to just add it like any other asset.

Thanks.
