# Suggestions for coding? timeline animations for navbar

**URL:** https://forum.kirupa.com/t/suggestions-for-coding-timeline-animations-for-navbar/293932
**Category:** Uncategorized
**Created:** [August 6, 2009, 1:30am UTC](https://forum.kirupa.com/t/suggestions-for-coding-timeline-animations-for-navbar/293932 "2009-08-06T01:30:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)
#### Post date: [August 6, 2009, 1:30am UTC](https://forum.kirupa.com/t/suggestions-for-coding-timeline-animations-for-navbar/293932/1 "2009-08-06T01:30:12Z")

</div>

I used After Effects to make pngs to use in a timeline in flash. Here it is to look at:

> **[Present Day Productions](http://www.presentdayproductions.com/)**
>
> presentdayproductionsnyc-blog

When you mouse over the navigation bar I want the windows to move in reverse order fluidly. (You’ll get what I mean if you look at it.) Right now I’m using this code for in the timeline for the buttons.

```auto
navbar_mc.addEventListener(MouseEvent.MOUSE_OVER, navOver);

function navOver(event:MouseEvent):void{
    navbar_mc.setChildIndex(event.target as MovieClip, 1);
    windows_mc.gotoAndPlay(navbar_mc.getChildAt(1).name);
}

```

Does anyone have any suggestions on how I should go about doing this?

Thanks
