Flasher Archive

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


Subject: Re: scale="showall"...??
From: John Croteau
Date: Mon, 1 Jun 1998 03:41:58 +0100

Hi Yalcin,

There are four main solutions.

> Solution: use fixed pixel definitions for the size.
This sololution doesn't allow scaling to fit the available window.

Another way is to mask the outside areas where off-stage objects appear,
I sent details on this earlier today under 'Re: scale="showall"...??'.

And a third is, I outined in a 'Re: Scale problem (i insist, sorry)', is
to create at an aspect ratio closer to the expected aspect ratio of the
window it will be viewed in.

If you create at 300x500 or 60x100 or 600x1000, then your movie would
fill your browser window of 300x500 without any extended canvas or
exposure of off-canvas objects.
Since you usually can't be sure of the size of the available window on a
viewers browser window you should make a compromise. At Flash Central we
use a canvas of 1150x620 which is a fairly good compromise on aspect
ratio and we use off-canvas masking as well.

The fourth method is to open a new window with JavaScript closing all
the chrome, this gives a browser window just slightly greater than a 4:3
ratio. However the user might still be able to resize the window and
change the aspect ratio. If you are creating for a projector playing at
full screen only then can you be exact and design for exactly 4:3.

In your example, a 100x100 canvas is not a good fit for any of these
uses descibed above.

> When you use percentages instead of fixed pixel height and widths
> for the placement of your movies in your html, the movie will resize
> either the height or width to ensure the whole movie can be viewed
> *without* losing the heightXwidth proportions (am I making this
> clear??)
It will resize BOTH the height and the width (not either)

> I mean: if you have a 100 px by 100 px movie and your browser is
> set to view at 100% x 100%... AND your browser's viewing area is
> 300 px by 500 px THEN your movie will be viewed at 300 px by 300
> px and you'll have the extra 100 px on either side - which will show
> the whatever is on the 'outside' of the movie.
Where you have new canvas may vary if you set SALIGN.

----------- -----------------------
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
  Re: scale="showall"...??, Michael Kay

Replies
  re: scale="showall"...??, Yalcin Yilmaz

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