# Extracting bitmap from SWF

**URL:** <https://forum.kirupa.com/t/extracting-bitmap-from-swf/327498>\
**Category:** Uncategorized\
**Created:** [March 5, 2012, 5:12pm UTC](https://forum.kirupa.com/t/extracting-bitmap-from-swf/327498 "2012-03-05T17:12:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiGaGiG](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Post date:** [March 5, 2012, 5:12pm UTC](https://forum.kirupa.com/t/extracting-bitmap-from-swf/327498/1 "2012-03-05T17:12:04Z")

</div>

Hi,  
my question could sound noobish, but… I’m having a headache trying to do a very simple operation.

I have loaded a SWF with Greensock’s SWFLoader, and now I want to instance a Bitmap with linkage “DotMatrixPattern” and use its Bitmap content to create a pattern with beginBitmapFill: the problem is… how do I extract the Bitmap from DotMatrixPattern?

I am able to instance DotMatrixPattern, but then? DotMatrixPattern.rawContent? No! undefined!

What am I doing wrong?
