Search…

X3 Photo Gallery Support Forums

Search…
 
Cinematick
Topic Author
Posts: 1
Joined: 24 Jan 2008, 17:57

Backgound.swf

24 Jan 2008, 18:01

I want to use a different background then the background .swf but everytime I try to put a new one on or a jpg it does not stretch to fit the screen. Does anyone know how to create one that will fit the screen that it's on?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

24 Jan 2008, 22:16

Imagevue does not stretch background images. The best way is to make sure your background image(or swf) is "big enough". Another strategy is to make sure your image fades into the background color so there is a smooth transition.

If you are serious about getting your SWF/image to stretch to the screen, it can be done with some code in Flash. Please do not try this if you are not familiar with flash:

#Create a new Flash, make your background or import your image. Make sure to convert your image/background into a movieClip. Give the movieclip an instancename "background" and add the following code to the frame:
Code
mybackground = new Object();
mybackground.onResize = function(){
     background._width = Stage.width;
     background._height = stage.height;
}
Stage.addListener(mybackground);
Export for Flash 7, AS2