Flash Drop Menu Blues

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=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?

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=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?

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

cheers…

[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

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

ActionScript 3.0 would be something like:

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