# Updated approach to continous Menu: Help Please

**URL:** <https://forum.kirupa.com/t/updated-approach-to-continous-menu-help-please/177260>\
**Category:** Uncategorized\
**Created:** [January 31, 2006, 4:36pm UTC](https://forum.kirupa.com/t/updated-approach-to-continous-menu-help-please/177260 "2006-01-31T16:36:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timB](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@timB](https://forum.kirupa.com/u/timB)\
**Post date:** [January 31, 2006, 4:36pm UTC](https://forum.kirupa.com/t/updated-approach-to-continous-menu-help-please/177260/1 "2006-01-31T16:36:41Z")

</div>

I posted something similar previuosly, but modified things, so I thought I’d try again:

This code moves two clips up (changes the \_y value onPress). The clips move up off the top of the screen, so as they’re moving off the top I’d like them to be coming in from the bottom again; a continous cycle. Here is what I have so far:

> 

```
		 				 // make navigation, clips move about

```

function MoveTo (clip, yTo, speed)  
{  
clip.onEnterFrame = function ()  
{  
this.\_y += (yTo - this.\_y) \* speed;  
};  
}

// main navigation  
mainNav.button1.onPress = function ()  
{  
MoveTo (mainContent, 98, 0.11);  
MoveTo (mainNav, 182, 0.11);  
};

mainNav.button2.onPress = function ()  
{  
MoveTo (mainContent, 5, 0.11);  
MoveTo (mainNav, 162, 0.11);  
};

I’ve attached this file also…

How do I make it ‘continous’? Attachmove? Duplicate Clip?

Thanks in advance…

/t
