This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > October 2004 > 2 Questions: www.melaniedunea.com





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 2 Questions: www.melaniedunea.com
JLazanowski

2004-10-02, 12:20 pm

Q1) How is this flash movie http://www.melaniedunea.com set up to expand to
fill 100% of the screen and remain in the center of the screen no matter how
the window is expanded or contracted?

Q2): If you click on "photographs" on the navigation bar and click through a
few photos, you will notice the interface resizes to fit the width of the
photo. How is this done?

Thank you very much.

Laurent

2004-10-02, 12:20 pm

> Q1) How is this flash movie http://www.melaniedunea.com set up to expand
> to
> fill 100% of the screen and remain in the center of the screen no matter
> how
> the window is expanded or contracted?


The "secret" is in the html code :
The flash movie is included in an array w/ 0% width and 0% hight. This array
is put in another one and centered into it. This last array is set to 100%
hight and 100% width.

>
> Q2): If you click on "photographs" on the navigation bar and click through
> a
> few photos, you will notice the interface resizes to fit the width of the
> photo. How is this done?


Pictures are included in a movie clip and the width of the "column" is a
movie clip that has for width the xwidth parameter of the picture loaded.

> Thank you very much.


Your welcome.

These are ideas that can lead you to the solutions. Try
macromedia.flash.actionscript if you need more help w/ code.


fenzig27

2004-10-02, 12:20 pm

Hi JLazanowski,

It's not really expanding, the flash file is set to be 100% height and 100%
width. So the swf takes up 100% of the window and resizes to the window size.
The flash was created to be in the center. if you right click in the brown
areas on the left and right (they seem to be just a normal html background) and
you will get the flash popup menu. the entire page is flash.

Laurent

2004-10-02, 7:15 pm

You're right.

"fenzig27" <webforumsuser@macromedia.com> a écrit dans le message de news:
cjhtsl$5pp$1@forums.macromedia.com...
> Hi JLazanowski,
>
> It's not really expanding, the flash file is set to be 100% height and
> 100%
> width. So the swf takes up 100% of the window and resizes to the window
> size.
> The flash was created to be in the center. if you right click in the brown
> areas on the left and right (they seem to be just a normal html
> background) and
> you will get the flash popup menu. the entire page is flash.
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews