This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > June 2005 > How was this done?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How was this done?
|
|
| EnergonCube 2005-06-18, 7:18 pm |
| http://www.domanistudios.com, a NY creative firm, has an all-Flash site that I
really like. What I like most is the background. No matter how I size my
browser window, the background never seems to scale. As the browser window gets
smaller, it clips left, right, and bottom. I'm not a flash designer (still
learning the basics) and I'm sure it's something simple.
How was this done?
Thanks in advance.
| |
| EnergonCube 2005-06-26, 7:18 pm |
| Any takers on helping me answer this? ... ...
| |
| lander222 2005-06-26, 7:18 pm |
| margin:0 0 0 0;
padding:0 0 0 0;
height:100%;
overflow-y: hidden;
embedflash("main.swf","100%","100%",7,'#E1DEDC','');
this is the important part of the code for in your html-file. in flash you use
a listener for the stage and rescale the movie containing the background
according to this. movie._x = Stage.x (not sure if x property from the stage
has an underscore) movie._yscale = movie._xscale.
if you also want to include the possibility that the height of the window can
be larger than the width, you'll have to perform some extra calculations but
the basics are described here.
please do have a look at my question titled 'animated sketching' :-), if you
have ideas, let me know!
Lander Beeuwsaert
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|