# Ladder effect?

**URL:** <https://forum.kirupa.com/t/ladder-effect/310300>\
**Category:** flash\
**Created:** [June 7, 2010, 7:20am UTC](https://forum.kirupa.com/t/ladder-effect/310300 "2010-06-07T07:20:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DemonGibi](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@DemonGibi](https://forum.kirupa.com/u/DemonGibi)\
**Post date:** [June 7, 2010, 7:20am UTC](https://forum.kirupa.com/t/ladder-effect/310300/1 "2010-06-07T07:20:42Z")

</div>

Hi there…  
I’m making a photo gallery…  
I want my thumb buttons to sit in place with a ladder effect…  
I mean first button to y:10, second to y:15 third y:20 and go on… Then all of them to y: 5…  
But with tweenmax i can just make them go to their final y coor.  
the code is below:

```auto
                for (var i:int = 0; i < thumbButtonArray.length ; i++) 
                    {
                        thumbPath = new String();
                        thumbPath = thumbButtonArray*.@thumbpath;
                        
                        thumbButton = new ThumbButton;
                        thumbButton.x = ( i * (thumbButton.width + 25)) +60;
                        thumbButton.y = -100 - (i * 10);
                        thumbButton.thumbId = i ;
                        
                        
                        
                        TweenMax.to(thumbButton, 1.5, { bezier:[{ y:25}], ease:Bounce.easeOut});
                        
                        thumbButton.create(thumbPath);
                        thumbButton.addEventListener(MouseEvent.CLICK, createPicture);
                        thumbButton.addEventListener(MouseEvent.CLICK, holdThumbDown);
                        thumbButton.addEventListener(MouseEvent.MOUSE_OVER, Over);
                        thumbButton.addEventListener(MouseEvent.MOUSE_OUT, Out);
                        addChild(thumbButton); 
                        
                    }

```

I tried to use delay with tween but I couldn’t manage it…

Any ideas?
