# Patterned/Gradient backgrounds without using wmode=transparent?

**URL:** <https://forum.kirupa.com/t/patterned-gradient-backgrounds-without-using-wmode-transparent/175403>\
**Category:** flash\
**Created:** [January 14, 2006, 12:42am UTC](https://forum.kirupa.com/t/patterned-gradient-backgrounds-without-using-wmode-transparent/175403 "2006-01-14T00:42:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SAVAGER](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@SAVAGER](https://forum.kirupa.com/u/SAVAGER)\
**Post date:** [January 14, 2006, 12:42am UTC](https://forum.kirupa.com/t/patterned-gradient-backgrounds-without-using-wmode-transparent/175403/1 "2006-01-14T00:42:47Z")

</div>

[FONT=Arial]I tend to use background patterns in my websites. To achieve this, I would pattern the .gif or .jpg within the html file and drop the transparent movie over the top of it. Clearly, I can’t do this since the transparency (wmode=transparency) tends to make the site lag at an unbelievable rate, and I mean unbelievable!![/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial] I’ve seen a tutorial for creating a pattern on [kirupa.com](http://kirupa.com) and even tried writing my own code, but I cannot seem to get the pattern to work correctly and am worried about this method using just as much of the processor. [/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]The pattern I am using for this project is approx. 1200px wide and 72px tall, which seems very big, but it worked great in the html file. I remember reading in a cacheAsBitmap tutorial ([http://www.flashguru.co.uk/](http://www.flashguru.co.uk/)) that the screen needs to refresh everything on the stage on every frame. If so, then if I have a full screen movie with this pattern is it going to have to refresh my 8+ instances of my pattern every time as well? I’m just very confused on how to even approach achieving this without the end result being choppy and lagging like hell. Also, I can’t seem to start the pattern at the top left of stage (0,0) when the stage is scaled at 100%, 100% . It will only start at 0,0 before the movie is scaled. [/FONT]

[FONT=Arial]I am EXTREMELY worried about this because 90% of my sites have some type of pattern/gradient background and I don’t know how to effectively apply them without bogging down the site. If anyone could help me out it would be greatly appreciated!!! [/FONT]

[FONT=Arial]Thanks a lot :beam:[/FONT]
