PDA

View Full Version : how can you evenly spread out 4 external .swf's



chrisdegrote
October 1st, 2009, 09:17 AM
Hey people,

I am using he uiloader component to load 4 external swf's. But I've got a problem with spreading the uiloaders evenly on the stage when it resizes (with different browser sizes). How can I solve this to put the :
1 uiloader on 0% vertical axis
2 uiloader on 25% vertical axis
3 uiloader on 50% vertical axis
4 uiloader on 75% vertical axis

or could somebody point out to me how to achieve this with AS3 code.

Hope somebody can help me with this.
It's the last thing to complete my first flash website (a half year little project).

Aurelien
October 1st, 2009, 09:28 AM
If I understood correctly, you want to change the coordinates of your 4 UILoaders based on the size of the stage. If so, you might be interested in the post just below yours :
http://www.kirupa.com/forum/showthread.php?t=336023

It deals with listening to the RESIZE event, and reacting to it.