# Tricky Scenerio in AS 3.0

**URL:** https://forum.kirupa.com/t/tricky-scenerio-in-as-3-0/255200
**Category:** flash
**Created:** [March 19, 2008, 11:59pm UTC](https://forum.kirupa.com/t/tricky-scenerio-in-as-3-0/255200 "2008-03-19T23:59:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anujsharma181](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@anujsharma181](https://forum.kirupa.com/u/anujsharma181)
#### Post date: [March 19, 2008, 11:59pm UTC](https://forum.kirupa.com/t/tricky-scenerio-in-as-3-0/255200/1 "2008-03-19T23:59:43Z")

</div>

Hi Guys  
I am trying to accomplish something which I think is little tricky for me in AS 3.0. Please help me out if you guys have any idea how to solve it.  
I am putting multiple instances of UILoader (containing videos) on the main stage and we can put them anywhere over the screen(free flow). I have provided 1 grid button which will arrange the UILoaders in a grid format. I hardcoded my program to move children to specific coordinates. I did not use grid becaue i don’t want to stuck user from using free flow mode of moving UILoaders. So far I am successful. Now my scenerio is that suppose I have 8 UILoaders in grid format placed 4 in one row and 4 in second row, and if user put 9th UILoader in 2 nd row then all the UILoaders in 2nd row will shrink and move to accomodate 9th UIloader. And all the UILoaders in row 2 including 9th UILoader should be of same size.  
In short in any row if I put UILoader on top of already existed UILoader, all the UIloaders shrink symmetrically to let the video accommodated and placed.

For the time being I have no idea how to target this problem. Any help will be highly appreciated.  
Thanks  
[COLOR=#888888]Anuj[/COLOR]
