# Stretching just the background of a swf to the screen

**URL:** <https://forum.kirupa.com/t/stretching-just-the-background-of-a-swf-to-the-screen/174058>\
**Category:** flash\
**Created:** [January 2, 2006, 1:35pm UTC](https://forum.kirupa.com/t/stretching-just-the-background-of-a-swf-to-the-screen/174058 "2006-01-02T13:35:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oli\_G](https://avatars.discourse-cdn.com/v4/letter/o/f05b48/32.png) [@Oli\_G](https://forum.kirupa.com/u/Oli_G)\
**Post date:** [January 2, 2006, 1:35pm UTC](https://forum.kirupa.com/t/stretching-just-the-background-of-a-swf-to-the-screen/174058/1 "2006-01-02T13:35:21Z")

</div>

Hi all

I searched on this, but there was a lot of conflicting info. Aside from the fact it dealt solely with stretching the entire swf.

I have my main body of nav/content, which I want to stay in the center of the screen. However, I also have a background gradient - I want this to stretch to the users browser window.

Anyone able to shed some light?

Cheers
