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

macromedia flash sitedesign

group:

Stage height


Stage height Ann22
10/25/2007 4:55:41 PM
macromedia flash sitedesign:
I am new at this so hopefully this won't be too complicated. I have a home
page that loads a .swf file when it opens. The buttons on the home page load a
new .swf file using LoadMovieNum. My problem is that each of these files is a
different height. If I make the home page long enough to scroll the .html file
then those that are shorter have a lot of white space at the end. An example
is the height of the home page is 1200. The other .swf files being loaded
vary from 650 to 1200. The one that is 650 has a lot of extra white space to
scroll through. Thanks in advance for helping.
Re: Stage height Sketchsta
10/27/2007 12:00:00 AM
Hi Ann,
I'm just trying to understand your site's framework abit.

So, you have a FULL Flash site? meaning all the site is done in Flash, and
using a single HTML file to display it? is that right?

one suggestion (if i'm understanding this right) would be for you to make all
your .swf siles one size (width and height) then, for the extra long files, you
could mask them (each in their own swf file) and use a custom scroller to
scroll the page up and down.

This would keep your extra white space from being a problem.
If you think this might be useful in your situation, i can help you with a
scrolling code for each file.

Re: Stage height Ann22
10/30/2007 3:12:13 PM
Thanks for offering to help me. That's very nice of you. Yes, its a complete
Flash Website. They are all the same width but I can make them all the same
height too.

I think I've used the option you are refering to with a different site. I
dragged the scoller from the users components list and put everything inside of
that. Then when I loaded the page there was an area where the information
scrolled up and down. It didn't use the browser scroll bar. I used that in an
..exe file though, not an .html. When I used the .html file I found out I can
use the browser scroll bar instead. So I figured this was something new to
learn if it was possible to do.
Re: Stage height Sketchsta
10/31/2007 12:00:00 AM
you can use the browser's scroll bar. I thought thats what has been happening,
which is why you got those white spaces?

The solution I was referring to keeps the browser showing the same ammount
through out all of your pages, then you use flash to scroll your content.
Alot like what the UIscrollBar does, which you used before.

Another method i guess would be for you NOT to load .swf content into your
Flash movie. But rather open a different Flash page for every page in your site.

eg..
You have all your pages (swf files) separate, with a dedicated html page to
embed them.
Have the same Navigation menu in all your SWF files, with buttons pointing to
the corresponding html page.
(You could use html Frames, and have one navigation swf, which opens all other
html files)

This would use the Browser's scrollbar, according to the Height of your flash
movie. Since all your flash pages are separate, the browser will scroll as much
as needed for each swf embeded into the html, that is currently opened.

Hope this is more helpful.
Re: Stage height Ann22
10/31/2007 9:29:36 PM
Hi, thanks...that option sounds like it will do what I want. I'm going to give
it a try and see if I get it right. This way I can keep the lenght the way it
is for each. I know I've gone to websites that look this way but being so new
at it I wasn't sure how they did it.
Re: Stage height Sketchsta
11/2/2007 3:33:47 AM
You're welcome. Hope it all goes well for you.
AddThis Social Bookmark Button