Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-27-2007, 02:47 PM   #1
acivit
Registered User
 
Join Date: Nov 2003
Location: Mexico City
Posts: 15
Default Publish Settings

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.-
acivit is offline   Reply With Quote
Old 07-31-2007, 10:53 PM   #2
raskolnikov
Senior Member
 
raskolnikov's Avatar
 
Join Date: Aug 2001
Location: kl, malaysia
Posts: 359
Send a message via MSN to raskolnikov Send a message via Yahoo to raskolnikov
Default

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.
__________________
"There is no solution because there is no problem" Marcel Duchamp
raskolnikov is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xml Flash Website - When I change the Publish settings to flash 8 its not working jackyruth ActionScript 2.0 1 07-22-2007 01:01 PM
publish settings dialog prob conspirisi Other Flash General Questions 1 03-10-2006 09:19 AM
Import publish settings - classpaths ignored mthornal Other Flash General Questions 1 08-10-2005 05:36 PM
Publish Settings RE: Template?? kickstart1970 ActionScript 1.0 (and below) 0 12-12-2002 08:24 PM
BUG when using HTML in Publish settings! jelle_belle ActionScript 1.0 (and below) 3 11-05-2002 09:14 AM


All times are GMT. The time now is 02:18 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.