# Certain menu

**URL:** <https://forum.kirupa.com/t/certain-menu/176757>\
**Category:** Uncategorized\
**Created:** [January 26, 2006, 5:56pm UTC](https://forum.kirupa.com/t/certain-menu/176757 "2006-01-26T17:56:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brockus](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@brockus](https://forum.kirupa.com/u/brockus)\
**Post date:** [January 26, 2006, 5:56pm UTC](https://forum.kirupa.com/t/certain-menu/176757/1 "2006-01-26T17:56:55Z")

</div>

An effect that I like to use involves rolling over a movie object and motion occurs and when rolling off of this same object the opposite motion occurs. I use this code on the first frame:

**stop();  
this.useHandCursor = 0;  
this.onEnterFrame = function() {  
if (rewind == true) {  
prevFrame();  
}  
};  
this.onRollOver = function() {  
rewind = false;  
play();  
};  
this.onRollOut = function() {  
rewind = true;  
};**

and then

**stop();**

on the last frame.

What I can’t do with this code is then have a button appear after the first motion. Much like this menu does - [http://comedy.aol.com/viralvideos](http://comedy.aol.com/viralvideos)

This style of menu probably has a name, but I can’t think of it, so it was hard to do a search. Can someone please send me to a place that will give me some of the code for this type of menu.

Thanks in advance…

Brock
