PDA

View Full Version : Publish Settings


acivit
07-27-2007, 02:47 PM
Hi Guys, well, 2 questions, I have a movie of 1024 x 768 with a gradient background, idea here it's to have that movie as a background of the entire site, and full window size, this is, if the size of the windows is 1024 x 768 will fill that entire space, same thing if it's bigger, now I have a white border around that movie, how can I fix that, how can I fill the entire browser window without that withe border?, the other thing is related to this one, in that movie I'll have an empty movie clip to call another movie clip that one will be the main interface with a fixed size of 984 x 608 if the background will be changing it's size in order to fill the browser window this will affect the size of the interface box?, I need the box at the fixed size ( and all the elements inside, even if are another movie clips ), is this possible to achieve? any idea how?

In fact I uploaded something to be checked, please, go here:

http://thenewmediastudio.com/issue/

if you check the green movie clip has a regular size of 550 x 400, but of because of how I did the publish of the background it's going to be resized if you move the corners of the browser, the idea is, no matter what size has the background, that green movie clip should remain at 550 x 400, the publish settings of the background movie clip are this:

<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="background" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="background.swf" />
<param name="quality" value="best" />
<param name="scale" value="exactfit" />
<param name="bgcolor" value="#ffffff" />
<embed src="background.swf" quality="best" scale="exactfit" bgcolor="#ffffff" width="100%" height="100%" name="background" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

I'm calling the green clip with something simple like:

loadMovie("test.swf", "test");

where test.swf it's the green clip and test it's an empty clip within the background movie

The other it's how to get that green clip centered in the background clip

Thanks in advance guys!

A.-

raskolnikov
07-31-2007, 10:53 PM
for the second question. centering a box...I would write an intial script of frame 1 of the loaded movie. and center using ._x and ._y according to the height or width of the root movieclip.

if(_root.MovClip1._height==2000){
loadedBox._x=1000;
loadedBox._y=2000;
}

note the center the LoadedBox should be at vertical and horizontal cross hair centerpoint.