| Author |
Background Image Scale
|
|
|
| Hello,
I want to scale an image the background (of my browser) but maintain a
"locked" size of the Flash content...
example at www.lifecomesatyoufast.com Are they doing that in Flash? CSS?
Any help would be appreciated.
Dan
| |
| tralfaz 2006-03-30, 6:40 pm |
|
"ds98" <webforumsuser@macromedia.com> wrote in message news:e0hban$r6i$1@forums.macromedia.com...
> Hello,
>
> I want to scale an image the background (of my browser) but maintain a
> "locked" size of the Flash content...
>
> example at www.lifecomesatyoufast.com Are they doing that in Flash? CSS?
>
> Any help would be appreciated.
>
> Dan
1) Flash publish settings for html to 100% width by 100% height
2) Flash publish settings for html to noScale mode
3) Set html for zero border size by editing the html BODY line..
<BODY bgcolor="#BB9CBA" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
Now the stage resizes to fit the browser window with the pieces on the Flash stage staying a constant size.
If you want to resize a bitmap to the browser window you also need a listener that triggers when the browser window is resized and
then sets the background image movieclip to the same size as the new browser window. Here is an example with MX 6 source code..
http://members.cox.net/4my5cats/noS...ageResize2.html
tralfaz
| |
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |