# Menu - not motion tween but Actionscript

**URL:** https://forum.kirupa.com/t/menu-not-motion-tween-but-actionscript/37050
**Category:** flash
**Created:** [December 5, 2003, 3:12am UTC](https://forum.kirupa.com/t/menu-not-motion-tween-but-actionscript/37050 "2003-12-05T03:12:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![IMJ](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@IMJ](https://forum.kirupa.com/u/IMJ)
#### Post date: [December 5, 2003, 3:12am UTC](https://forum.kirupa.com/t/menu-not-motion-tween-but-actionscript/37050/1 "2003-12-05T03:12:06Z")

</div>

I’m working on a navigation in which there’s a main menu and a submenu. But I need some help here.

Let’s say I’ve got button 1, 2 and 3 as the main menu and button a, b and c as the submenu.

The idea is:  
If I press on button1, buttons 2 and 3 moves to the right by 200 pixels. At the same time, the buttons a, b and c will appear between button 1 and 2.

Now, I got this working with Motion Tween, but that’s not the way how I want to do it. I think it should be possible with AS too, right? I’ve tried with SetProperty and \_x, but then it doesn’t scroll to the new location.

Can anyone gimme some advice?

Thanks very much!
