This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > September 2007 > Menu Issues





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Menu Issues
ajraw

2007-09-09, 6:15 pm

hey folks i need a lil AS2 help.

im creating a site and the navigation uses a slide in/out concept. when a nav
button is clicked the current pane slides out and the new one slides in based
on which button is clicked. the coding for the buttons is as follows:

on (release) {
// variable to tell the slide out which slide in comes next
var menuCount = 1;

// portfolio button animation call
if (frame == 2) {
_root.homeMenu.gotoAndPlay("outro");
}

// resume button animation call
if (frame == 3) {
_root.res.gotoAndPlay("outro");
}

// contact button animation call
if (frame == 4) {
_root.cont.gotoAndPlay("outro");
}
}

OK the problem is that for some reason this thing is not working correctly. i
think something is wrong with the frame calls because there one works fine but
once you add the others it just dosent work


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews