# Flash Drop Menu Blues

**URL:** <https://forum.kirupa.com/t/flash-drop-menu-blues/260220>\
**Category:** flash\
**Created:** [May 13, 2008, 3:56pm UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220 "2008-05-13T15:56:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![atlnycdude24](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Post date:** [May 13, 2008, 3:56pm UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220/1 "2008-05-13T15:56:40Z")

</div>

Hey room,

I’m building a drop down menu in flash cs3 and got a problemo. I’m not done yet but whenever I test the movie the submenu goes left to right instead when I want to hover my mouse on a button. Also I’m getting an error that the code is saying that i don’t have btn1 declared. Funny thing is my buttons instances are declared. I’m attaching the fla file. Please help and thanks in advanced.

---

<div class="post-metadata">

**Author:** ![atlnycdude24](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Post date:** [May 13, 2008, 7:29pm UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220/2 "2008-05-13T19:29:00Z")

</div>

[quote=atlnycdude24;2325618]Hey room,

I’m building a drop down menu in flash cs3 and got a problemo. I’m not done yet but whenever I test the movie the submenu goes left to right instead when I want to hover my mouse on a button. Also I’m getting an error that the code is saying that i don’t have btn1 declared. Funny thing is my buttons instances are declared. I’m attaching the fla file. Please help and thanks in advanced.[/quote]

Help please?

---

<div class="post-metadata">

**Author:** ![findAll](https://avatars.discourse-cdn.com/v4/letter/f/4da419/32.png) [@findAll](https://forum.kirupa.com/u/findAll)\
**Post date:** [May 13, 2008, 7:57pm UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220/3 "2008-05-13T19:57:25Z")

</div>

I looked at your fla. There’s no need to upload anything because you can do the changes yourself. Your code for rollOver is in ActionScript 2.0, as in your publish settings it is set for ActionScript 3.0. So, you either write the code in ActionScript 3.0, or go to publish settings and, in the flash tab, at Action Script version change it to 2.0. That’s all.

cheers…

---

<div class="post-metadata">

**Author:** ![atlnycdude24](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Post date:** [May 13, 2008, 8:52pm UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220/4 "2008-05-13T20:52:44Z")

</div>

[quote=findAll;2325753]I looked at your fla. There’s no need to upload anything because you can do the changes yourself. Your code for rollOver is in ActionScript 2.0, as in your publish settings it is set for ActionScript 3.0. So, you either write the code in ActionScript 3.0, or go to publish settings and, in the flash tab, at Action Script version change it to 2.0. That’s all.

cheers…[/quote]

Wow That’s odd. Thanks for helping me man. what is the rollOver in Action Script 3.0?

---

<div class="post-metadata">

**Author:** ![findAll](https://avatars.discourse-cdn.com/v4/letter/f/4da419/32.png) [@findAll](https://forum.kirupa.com/u/findAll)\
**Post date:** [May 14, 2008, 9:39am UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220/5 "2008-05-14T09:39:35Z")

</div>

I don’t know actionscript 3.0, but i don’t know if there’s one…

cheers…

---

<div class="post-metadata">

**Author:** ![snickelfritz](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@snickelfritz](https://forum.kirupa.com/u/snickelfritz)\
**Post date:** [May 14, 2008, 3:34pm UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220/6 "2008-05-14T15:34:02Z")

</div>

[QUOTE=atlnycdude24;2325790]Wow That’s odd. Thanks for helping me man. what is the rollOver in Action Script 3.0?[/QUOTE]

Actionscript 2.0

```auto
btn5.onRollOver = function (){
	menu_mc.gotoAndPlay("mission");
}

```

ActionScript 3.0 would be something like:

```auto
btn5.addEventListener(MouseEvent.MOUSE_OVER , rollover, false, 0, true);
function rollover(event:MouseEvent):void{
menu_mc.gotoAndPlay("mission");
}

```
