-
Thinker....
[MX04] Filling browser window
Hi,
I have seen this done on a lot of sites.
Currently I have a swf file, and it it the background is not a plain colour, rather it is an image.
Now the problem lies when stretching my swf, if I set the .swf to stretch at 100x100 it distorts the swf. I need the image to stretch without being distorted and thus filling the browser window. That means, that no matter how wide the browser window is, it stretches (without distorting it) and fills it. Any ideas on how I can go about this?
www.Puma.com - it always resizes according to the screen res.
Thanks.
Last edited by samsonknight; 03-02-2008 at 03:58 PM.
http://www.samsonknightdesign.com
-
-
Thinker....
Hi thanks for that, problem I am having although it resizes and positions with the browser window. (instead it crops the movie clip)I need my swf to always "show All" the clip whilst simultaneously filling the browser window.
How can this be achieved? Thanks.
http://www.samsonknightdesign.com
-
PHP Code:
clip._width = Stage.width; clip._height = Stage.height;
gparis
-
Thinker....
Thanks, lets say I have a movie clip, and I want it to always stay in a certain position how do I do that? no matter how much the stage resizes.
So lets say I want it to be at the bottom left of the browser, the clip always stays at the edge of the browser no matter what.
http://www.samsonknightdesign.com
-
PHP Code:
Stage.align = "TL"; clip._x = 0; clip._y = Stage.height - clip._height;
assuming clip's registration is 0,0.
gparis
-
Thinker....
Thanks although I am still unable to get it to work
Below is my .fla
http://www.samsonknightdesign.com/rainbow/squirral.zip
thanks again.
http://www.samsonknightdesign.com
-
Thinker....
Originally Posted by samsonknight
Thanks although I am still unable to get it to work
thanks again.
http://www.samsonknightdesign.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|