all groups > macromedia flash sitedesign > july 2006 >
You're in the

macromedia flash sitedesign

group:

Setting a background image


Setting a background image Adam Deeley
7/28/2006 12:47:20 PM
macromedia flash sitedesign:
Hi wondered if anyone can help. I know you can set the stage background colour
in flash and the published movie will sit central on top of the background. I
want to set a pattern behind my published flash file. I dont want the scale of
this pattern to change when the window is resized or moved by the user - i just
want more of the pattern to appear (with my published flash file kind of
floating ontop). Is there any way to do this.

Thanks for any help

Ad
Re: Setting a background image Moca
7/29/2006 3:38:13 AM
Hi Adam

i think you want the HTML page to have a titled bg and the swf file
embedded...

Publish your file from flash to match movie (under HTML tab). Open the
HTML file with note pad or any other editor. Place this code between the
open and close <head> tag:
<style type="text/css">
<!--
body {
background-image: url(yourBackground.jpg);
background-repeat: repeat;
}
-->
</style>

make sure to replace the name of your background file to be used behind.

You can change the repeating settings to repeat on x, y or no repeat,
depending on your image.

I hope that's what you were trying to do.
AddThis Social Bookmark Button