# Fit bitmap textures to non rectangular MovieClip

**URL:** https://forum.kirupa.com/t/fit-bitmap-textures-to-non-rectangular-movieclip/300752
**Category:** flash
**Created:** [November 26, 2009, 5:02pm UTC](https://forum.kirupa.com/t/fit-bitmap-textures-to-non-rectangular-movieclip/300752 "2009-11-26T17:02:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![amietbeach](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@amietbeach](https://forum.kirupa.com/u/amietbeach)
#### Post date: [November 26, 2009, 5:02pm UTC](https://forum.kirupa.com/t/fit-bitmap-textures-to-non-rectangular-movieclip/300752/1 "2009-11-26T17:02:14Z")

</div>

Hi there,

I’m loading bitmaps dynamically using AS3 and I’d like to fit/tile them within a movieclip. (like a texture but in 2D)

However, my movieclip is not rectangular and everything I tried resulted in the texture getting out of the boundaries of my movieclip and being displayed as a big rectangle.

Any help would be appreciated…

Thanks!
