# Changing bitmap of an object

**URL:** <https://forum.kirupa.com/t/changing-bitmap-of-an-object/303672>\
**Category:** flash\
**Created:** [January 24, 2010, 10:21pm UTC](https://forum.kirupa.com/t/changing-bitmap-of-an-object/303672 "2010-01-24T22:21:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrjellybeans](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jrjellybeans](https://forum.kirupa.com/u/jrjellybeans)\
**Post date:** [January 24, 2010, 10:21pm UTC](https://forum.kirupa.com/t/changing-bitmap-of-an-object/303672/1 "2010-01-24T22:21:25Z")

</div>

Hey all. I’ve got another simple question.

I have a mc who’s bitmap that is associated with him I want to change.

To be specific, I have:  
Block\_0 mc = 20X20 square as it’s image.  
Block\_1 mc = 80X80 square as it’s image.  
BlankClip = no image

When BlankClip is first created, I want to tell it to either have the same image as Block\_0 or Block\_1.

Looking it up online, it seems like I have to use BitmapData somehow, but I’m really unfamiliar with things…

I’ve been working on this same code for about 2 hours…

Thanks a bunch!
