View Full Version : How can I stretch flash background without movie resize?

09-10-2009, 07:26 AM

I'm having flash movie with black background. I want the background to be stretched 100% in browser window, but I don't want to resize content of movie. How can I do that? If I set flash movie size to 100% it stretches content as well, but I want content to stay fixed size in center. Is there a way to make it? It is made on all professional flash websites.


09-11-2009, 04:01 PM
I think - if I'm understanding your question/problem - that generally the flash item is placed, perhaps in an html <div> tag, which has the black background to it...
so it's actually the containing div element that expands to the browser width and not the Flash item though it looks like it does... a little slight of hand magic trick :thumbsup:.

If there is imagery in the black background (as opposed to just plain flat solid black), then the same is possible with a background image to the html div that matches the Flash and the two are carefully positioned to look like it's all one thing. Bit more challenging but not too much hard work to do.

Hope this helps.