i’m trying to create a flash website using AS 3.0. i watched several about creating drop down menus, and i created my menu. my problem is that i can’t tell buttons to go to content pages. i’m pretty sure that my script is not complete. when i publish the fla i don’t get any errors after working on it for some time but my menu is not working.
here is my script. if you want to take a look at my fla file i can give a link for it. thanks for the help.
var navBtnGlow:GlowFilter = new GlowFilter(0x912045,0.5, 0, 15, 1, 2, true,false)
navBar_mc.addEventListener(MouseEvent.MOUSE_OVER, navOverF);
navBar_mc.addEventListener(MouseEvent.MOUSE_OUT, navOutF);
function navOverF(event:MouseEvent):void{
event.target.filters = [navBtnGlow];
navBar_mc.setChildIndex(event.target as MovieClip, 1);
dropMenus_mc.gotoAndStop(navBar_mc.getChildAt(1).name);
trace(“We are Rolled Over…” + navBar_mc.getChildAt(1).name)
}
function navOutF(event:MouseEvent):void{
event.target.filters = [];
}
navBar_mc.referanslar.onRelease = function(){
content_mc.gotoAndStop(“referanslar”)
}
navBar_mc.iletisim.onRelease = function(){
content_mc.gotoAndStop(“iletisim”)
}
dropMenus_mc.portfolyoFrame_btn.btnHakkimda.onRelease = function(){
content_mc.gotoAndStop(“hakkimda”)
}
dropMenus_mc.portfolyoFrame_btn.btnHizmetler.onRelease = function(){
content_mc.gotoAndStop(“hizmetler”)
}