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-03, 4:14 am

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-03, 7:14 am

> 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.


Sponsored Links


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