STAY! Background STAY!

How do you get an imported image background to stay put throughout your site?

:-/

:lol: sounds like your having some trouble :slight_smile:

Im not sure what you mean, I mean I do but I don’t. Assuming your loading your background image dynamically, you should be loading it into a movieclip.


loadMovie("myImage.jpg","container");

Of course “container” is an empty movieclip.

Maybe something in your code is making the image change x and or y axis?

Can I see an example of what your talking about ?

I want the rose background to stay put throughout the entire site, i.e. animation, transitions, etc.

http://www.omicrontauomega.com/background.zip

Just click on a keyframe and hit f5. You can make the background image as long as the entire flash movie and it will always be there unless you load something over it.

What Digitalosophy said, but on a 2nd layer. Isn’t Add Keyframe F6?
Or do you mean you want it to match the rest of the web page? That would mean putting a matching jpg as the html background image.

THAT’S what I want to do!!! How do I do that? :h:

Hmmm. Well, here’s what I do:

  1. In photoshop, I make a new 1200x1200 pixel document. In this I make a large version of the subtle rose thing. (It’s huge because I don’t want it to repeat as a tile).
  2. Save the whole thing as a jpg or gif.
  3. In the upper left of the photoshop document make a slice, or use guides, to make a 500 x 400 area (or whatever your flash size will be).
  4. Select that rectangle, and copy it, or save it as it’s own jpg.
  5. Place that chopped rectangle in the Flash file. The Flash file should be the same size as this rosey rectangle.
  6. Add any Flashy things you want.
  7. Publish from Flash. You’ll have to open the resulting html page and make all margins “0” or else it’ll be off by a few pixels.
  8. Make the original huge jpg the html page’s backgraound (bg) image.