# Extending a bitmap throughout the HTML page

**URL:** <https://forum.kirupa.com/t/extending-a-bitmap-throughout-the-html-page/229862>\
**Category:** Uncategorized\
**Created:** [June 20, 2007, 7:00pm UTC](https://forum.kirupa.com/t/extending-a-bitmap-throughout-the-html-page/229862 "2007-06-20T19:00:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kragster](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@kragster](https://forum.kirupa.com/u/kragster)\
**Post date:** [June 20, 2007, 7:00pm UTC](https://forum.kirupa.com/t/extending-a-bitmap-throughout-the-html-page/229862/1 "2007-06-20T19:00:37Z")

</div>

Hi,  
I’ve used this code to extend a bitmap image on my flash movie [http:/kraghkrogh.dk](http://kraghkrogh.dk)

```auto
 
import flash.display.BitmapData;
var tile:BitmapData = BitmapData.loadBitmap("pattern");
this.beginBitmapFill(tile);
this.lineTo(Stage.width, 0); 
this.lineTo(Stage.width, Stage.height); 
this.lineTo(0, Stage.height); 
this.lineTo(0, 0); 
this.endFill();

```

Is there any way to make it extend thorughout the whole html file instead of just the flash movie?

/regards  
Lars Kragh
