Groups | Blog | Home
all groups > macromedia flash sitedesign > july 2006 >

macromedia flash sitedesign : Setting A Background Image



Adam Deeley
7/29/2006 12:00:00 AM
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

Del
7/29/2006 4:52:49 PM

[quoted text, click to view]

You would have to set the movie window in publish settings as transparent,
then in the HTML put this inside the head, it will tile the entire window
and is completely independant from the swf.

<HEAD>
<STYLE type="text/css">
body {
background-image: url('your_image.jpg');
}
</STYLE>
</HEAD>

Note the brackets around 'your_image' are supposed to be there, not just for
show.

AddThis Social Bookmark Button