# as2 According buttons for my animation

**URL:** <https://forum.kirupa.com/t/as2-according-buttons-for-my-animation/319423>\
**Category:** flash\
**Created:** [February 20, 2011, 8:15am UTC](https://forum.kirupa.com/t/as2-according-buttons-for-my-animation/319423 "2011-02-20T08:15:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kawdo](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@kawdo](https://forum.kirupa.com/u/kawdo)\
**Post date:** [February 20, 2011, 8:15am UTC](https://forum.kirupa.com/t/as2-according-buttons-for-my-animation/319423/1 "2011-02-20T08:15:16Z")

</div>

dear all ,

i am using as2 video gallery, my question is i need to move 3 menus buttons on left hand side

**when click the “coming soon” button , it will go top and "featured " button go bottom** , like this vis vesa

this is as2 code near the button

```auto

public function createNavList() {
        var cur = this;
        var i, temp, base = navList.base;
        for (i in dataNav) {
            temp = base.attachMovie("cListNavListItem", Number(i)+1, Number(i)+1, {data:dataNav*});
                        
                     
            if(i==0) temp._y = 0;
            if(i==1) temp._y = 285;
            if(i==2) temp._y = 316;           
            
            temp.onRelease = function() {
                if (!this.checked) {
                    _config.curNav = Number(this._name)-1;
                    cur.closeNavList();
                                                
                }            
            }
}

```

this is my test link \> [http://www.srilankafilmcorp.com/nfc/test.html](http://www.srilankafilmcorp.com/nfc/test.html)

please i am confusing ? thanks
