Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Scale problem (i insist, sorry)
From: John Croteau
Date: Sun, 31 May 1998 11:35:48 +0100

Hi Christian and all,

I am working on a Tech note (preliminary and partial version below)
to explain all this, but it is very complicated to explain.
Your main problem is you are using an aspect ratio that is smaller
than the average browser window with chrome open. I call this the Aspect
Ratio Fit.

> Specially when i see a site like http://www.eye4u.com,
> where i think they also have animated elements that are off stage.
This site does indeed have elements that extend past the the borders of
the canvas, but the look of the site and its animation varies greatly
depending on the aspect ratio of the viewer's browser window. Different
parts of the extended picture aoppear on different browser set-ups based
on the aspect ratio of the browser window which varies by browser type
and what user options are set.

At Flash Central (Flash 3 version), we are using a canvas of 1150 by 620
which is a fairly good compromise. We insure the complete image is shown
(on all monitor sizes, no matter how much or how little chrome is shown)
with minimum borders by using a single Frame FRAMESET, plus we also turn
off the scrollbar.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Filling the Frame with Flash
by John Croteau

By setting the height and width to 100% you can fill a frame with
Flash. But there are some complications or side effects that may give
results different than you expect.
There are three SCALE parameters NOBORDER, EXACTFIT and SHOWALL (the
default).
NOBORDER scales the movie so the entire frame is filled, the aspect
ratio is maintained but unless the aspect ratio of the movie is exactly
the same as the window, parts of the movie on one or two edges will be
cut off.
EXACTFIT fits the movie into the full frame by stretching it either
horizontally or vertically unless the aspect ratio of the movie is
exactly the same as frame it is put in.
SHOWALL (the default) fits the movie into the frame while maintaining
the image proportions (so your circles remain round, etc.). If SHOWALL
is used with 100% specified for height and width then the Flash movie
will fill the window (frame) it is in, but unless that window is exactly
the same aspect ratio (ratio of width compared to height) as that of the
canvas specified in the authoring environment then items originally off
canvas as shown in the editor may actually be seen. In other words the
canvas expands to fill the window. There are several factors that
determine how this will work in a particular case.

SALIGN determines which edge(s) the Flash movie canvas (as set in the
editor) will butt up against the frame edge. You can specify T (top), B
(bottom, L (left), R (right) or a combination of L or R with T or B. If
you have objects off canvas in the direction of an SALIGN side(s) then
those off canvas objects will not appear regardless of the aspect ratio
fit.

ASPECT RATIO FIT - If the frame has a larger aspect ratio (more relative
width compared to height) than the Flash Movie then the Flash movie will
fill the window top to bottom and be centered left to right leaving a
margin on the left and right unless a SALIGN parameter (L, R, TL, TR, BR
or BL) is set. If SALIGN is set to L (for instance) then all the margin
will be on the right. The margin created here will be filled with
whatever objects (if any) that were in that area that was originally was
off-canvas in the editor. If the frame has a smaller aspect ratio (less
relative width compared to height) than the Flash Movie then the Flash
movie will fill the window left to right and be centered between top and
bottom leaving a margin on the top and bottom unless a SALIGN parameter
(T, TR, TL, B, BR or BL) is set.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
FlashTeK(Advanced Websites with Flash) http://www.CrownMall.com/Flash/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
Need a PC ? -- Computer King -- http://www.crownmall.com/computers/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Scale problem (i insist, sorry), Christian.Gayton

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]