I have just started to experiment with flash so this question comes from a newbie:
I created a flash menu (which I’m pretty happy with) with the following action script code;
about_mc.onRollOver = function () {
about_mc.gotoAndPlay("_over");
}
about_mc.onRollOut = function () {
about_mc.gotoAndPlay("_out");
}
videos_mc.onRollOver = function () {
videos_mc.gotoAndPlay("_over");
}
videos_mc.onRollOut = function () {
videos_mc.gotoAndPlay("_out");
}
photos_mc.onRollOver = function () {
photos_mc.gotoAndPlay("_over");
}
photos_mc.onRollOut = function () {
photos_mc.gotoAndPlay("_out");
}
training_mc.onRollOver = function () {
training_mc.gotoAndPlay("_over");
}
training_mc.onRollOut = function () {
training_mc.gotoAndPlay("_out");
}
nutrition_mc.onRollOver = function () {
nutrition_mc.gotoAndPlay("_over");
}
nutrition_mc.onRollOut = function () {
nutrition_mc.gotoAndPlay("_out");
}
news_mc.onRollOver = function () {
news_mc.gotoAndPlay("_over");
}
news_mc.onRollOut = function () {
news_mc.gotoAndPlay("_out");
}
links_mc.onRollOver = function () {
links_mc.gotoAndPlay("_over");
}
links_mc.onRollOut = function () {
links_mc.gotoAndPlay("_out");
}
Then to link the menus to the respective html pages, I added the following:
about_mc.onRelease = function () {
getURL(“about.html”};
}
videos_mc.onRelease = function () {
getURL(“videos.html”};
}
photos_mc.onRelease = function () {
getURL(“photos.html”};
}
training_mc.onRelease = function () {
getURL(“training.html”};
}
nutrition_mc.onRelease = function () {
getURL(“nutrition.html”};
}
news_mc.onRelease = function () {
getURL(“news.html”};
}
links_mc.onRelease = function () {
getURL(“links.html”};
}
But it is not working??? I tried the add the second code block to the same ac file as the first code block, and to a separate ac file, but nothing works??
Help please!