Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Liquid Layout - how to

Status
Not open for further replies.

Lovelybones

Technical User
Oct 6, 2007
31
0
0
Hey Guys,

I'm wondering how do you design a layout like this:


It re adjusts to the size of the window, also the image in the background does aswell.

Any hints or tips will be greatly appreciated!
 
You just need to do the following in your FLA:
[ul]
[li]Set the stage scaleMode to StageScaleMode.NO_SCALE[/li]
[li]Set the stage align to StageAlign.TOP_LEFT[/li]
[li]Set up the EventListener to listen to RESIZE event and fire the function next[/li]
[li]Set up the function to resize the background, reposition the elements etc[/li]
[li]Call the function above initially[/li]
[/ul]
Then in HTML display the SWF in 100% x 100%.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top