# Dropmenu disappears

**URL:** <https://forum.kirupa.com/t/dropmenu-disappears/213237>\
**Category:** flash\
**Created:** [January 17, 2007, 11:25pm UTC](https://forum.kirupa.com/t/dropmenu-disappears/213237 "2007-01-17T23:25:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dokratos](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dokratos](https://forum.kirupa.com/u/Dokratos)\
**Post date:** [January 17, 2007, 11:25pm UTC](https://forum.kirupa.com/t/dropmenu-disappears/213237/1 "2007-01-17T23:25:19Z")

</div>

Here’s the deal I have this AS to make a dropmenu appear. It works ok, for a while… but then the buttons just disappear, and reappear, and so on…  
Here’s the AS:

```auto
stop();
this.onEnterFrame = function() {
 if (stripePress._width<80) {
  stripePress._width += 5;
 }
 if ((boardPress._height<165) && (stripePress._width=80)) {
  boardPress._height += 5;
  boardPress._alpha += 10;
 }
 if (boardPress._height>25) {
  AGENDA._alpha += 10;
 }
 if (boardPress._height>45) {
  agendaSelect._alpha += 10;
 }
 if (boardPress._height>45) {
  AGENDA2007._alpha += 10;
 }
 if (boardPress._height>65) {
  AGENDA2006._alpha += 10;
 }
 if (boardPress._height>85) {
  AGENDA2005._alpha += 10;
 }
 if (boardPress._height>105) {
  AGENDA2004._alpha += 10;
 }
 if (boardPress._height>125) {
  AGENDA2003._alpha += 10;
 }
 if (boardPress._height>145) {
  NEWS._alpha += 10;
 }
 if (boardPress._height>=165) {
  AWARDS._alpha += 10;
 }
};
AGENDA._alpha = 0;
agendaSelect._alpha = 0;
AGENDA2007._alpha = 0;
AGENDA2006._alpha = 0;
AGENDA2005._alpha = 0;
AGENDA2004._alpha = 0;
AGENDA2003._alpha = 0;
NEWS._alpha = 0;
AWARDS._alpha = 0;

```

Anyone knows why this happens?

Any help will be welcome!
