# Spacing a menu bar with actionscript

**URL:** <https://forum.kirupa.com/t/spacing-a-menu-bar-with-actionscript/216923>\
**Category:** flash\
**Created:** [February 21, 2007, 6:59pm UTC](https://forum.kirupa.com/t/spacing-a-menu-bar-with-actionscript/216923 "2007-02-21T18:59:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattvisk](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@mattvisk](https://forum.kirupa.com/u/mattvisk)\
**Post date:** [February 21, 2007, 6:59pm UTC](https://forum.kirupa.com/t/spacing-a-menu-bar-with-actionscript/216923/1 "2007-02-21T18:59:47Z")

</div>

Hi,

I’m trying to make a simple menu bar for my all flash website.  
It will have 4 links “hobbies” “music” “achievements” “profile”.

i want them to be evenly spaced on my menu bar and then when one of them changes size when clicked, i want them to automatically adjust to the oversized button and move back into an evenly spaced arrangement.

heres a link to a flash site that has a menu I’m talking about. [http://www.face3media.com/site.htm](http://www.face3media.com/site.htm)

If you could help me with the script that would be great 🙂
