# Cool navigation I made. Now how can I do this with AS?

**URL:** https://forum.kirupa.com/t/cool-navigation-i-made-now-how-can-i-do-this-with-as/41409
**Category:** flash
**Created:** [January 28, 2004, 8:51pm UTC](https://forum.kirupa.com/t/cool-navigation-i-made-now-how-can-i-do-this-with-as/41409 "2004-01-28T20:51:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gragland](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gragland/32/422_2.png) [@gragland](https://forum.kirupa.com/u/gragland)
#### Post date: [January 28, 2004, 8:51pm UTC](https://forum.kirupa.com/t/cool-navigation-i-made-now-how-can-i-do-this-with-as/41409/1 "2004-01-28T20:51:25Z")

</div>

SEE IT HERE ----\> [http://s91931107.onlinehome.us/nav/](http://s91931107.onlinehome.us/nav/)  
FLA ----\> [http://s91931107.onlinehome.us/nav/nav.fla](http://s91931107.onlinehome.us/nav/nav.fla)

Could someone tell me how i could accomplish this same kind of navigation, but with mostly AS. Right now I use a bunch of tweens a duplicate mc’s, and as a result i can’t really do much with it… its hard to explain, but the way I have it set up now all 4 squares have to be the same color, if i want to change something it takes a while… and there are some other problems.

Im thinking there’s a much better way to do this. Could an experienced flasher help me out? Would be much appreciated. I got some great ideas of how I am gonna use this nav, but i want to redo it and make it simple and efficient before I procede.

The code below will resize an MC, but how do i get the bounce effect, and make the other 3 MC’s still to the corner like in the nav I made.

* * *

onClipEvent (enterFrame) {  
if (change == true) {  
\_yscale += int(goaly-\_yscale)/3;  
\_y += int(goal2y-\_y)/3;  
}  
}

//script to be called to scale the clip//

## on (press) { \_root.MyClip.change = true; \_root.MyClip.goaly = 200; }

THANKS!
