Hello again…
I am looking to use a rather simple pattern on a flash page. I would like the pattern to fill the whole browser and then make the main content of my flash site to have transparent effect. Just like seen in this example:
http://www.websitedesignawards.com/flash.html
i have used the following tutorials to get the fullpage effect aswell as the pattern to work.
http://www.kirupa.com/developer/mx2004/duplicatebackground.htm
http://www.kirupa.com/developer/mx2004/fullscreen.htm
The thing is that I can’t get the pattern to be on the bottom. Everytime I apply the actionscript to the main timeline the pattern is placed above everything else.
tileBG = function () {
tile_width = 180;
tile_height = 180;
x_max = Math.round(Stage.width/tile_width);
y_max = Math.round(Stage.height/tile_height);
for (x=0; x<=x_max; x++) {
for (y=0; y<=y_max; y++) {
bg = _root.attachMovie(“square”, “bg”+x+y, this.getNextHighestDepth());
bg._x = tile_widthx;
bg._y = tile_heighty;
}
}
};
onEnterFrame=tileBG;
I have tried to make a seperate movieclip that loads in, the pattern with the actionscript on that timeline, but then the pattern does not load at all.
Does anyone know what I can do, or where I can find a tutorial showing how to apply a background wallpaper, without having to do it in CSS?
Thank you so much guys…
-BonWhis