all groups > macromedia flash sitedesign > july 2007 >
You're in the

macromedia flash sitedesign

group:

Publish Settings


Publish Settings Atmosfera
7/26/2007 5:36:22 PM
macromedia flash sitedesign:
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?

Regards and thanks a lot!

Arturo
Re: Publish Settings Atmosfera
7/26/2007 9:32:07 PM
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

Re: Publish Settings Atmosfera
7/27/2007 7:05:37 PM
Re: Publish Settings GAMBRKER
7/27/2007 7:46:56 PM
Another recently posted topic...

Re: Publish Settings Atmosfera
7/27/2007 8:41:26 PM
[q][i]Originally posted by: [b][b]GAMBRKER[/b][/b][/i]
Another recently posted topic...

http://www.fireflytutorials.com/flash-tutorials/fullscreen-flash-movie/[/q]

Hi there, thanks, in fact I followed that tutorial untill page 5, and I got
this

http://www.thenewmediastudio.com/issue/test/fondo.html

if you want to see the FLA I have this

http://www.thenewmediastudio.com/issue/test/fondo.fla

I'm using this AS

stop();

Stage.scaleMode = "noScale";

setProperty(bgGradient_mc, _width, Stage.width);
setProperty(bgGradient_mc, _height, Stage.height);

var resizeListener:Object = new Object();
Stage.addListener(resizeListener);

resizeListener.onResize = function () {
setProperty(bgGradient_mc, _width, Stage.width);
setProperty(bgGradient_mc, _height, Stage.height);
}

but still doesn't working, all the movie it's pulled to the right lower corner
and I can't find why

Thanks a lot

Arturo

Re: Publish Settings GAMBRKER
7/30/2007 12:00:00 AM
ok, this is really strange. I know where the problem is, but I dont know what
the problem is. It is not your HTML, AS, or instance names. It is actually
the gradient background. I just swapped the mc with the one in the tute and it
worked just fine.

I checked the gradient size, bg, instance name, color, number or colors, mc
name, and nothing is different, other than the color (which shouldnt matter).
Wish I could help more.
Re: Publish Settings Atmosfera
7/30/2007 3:16:01 PM
Re: Publish Settings GAMBRKER
7/30/2007 3:39:11 PM
ok, i figured it out. The registration point for your bg_mc is in the wrong
position.

In your bg_mc, go inside one level (to your gradient) select it, then under
the info tab, select the center registration point. Now re-position your
gradient to 0,x 0,y.

Now, go to the root level, select your bg_mc, change the registration point to
the top-left, and then re-position your bg_mc to 0,x 0,y.

That should do it.
Re: Publish Settings Atmosfera
8/2/2007 12:28:05 AM
hey dude, GAMBRKER, thanks a lot man, now I'm going to try to understand the logic behind!

AddThis Social Bookmark Button