flashbe
10-24-2008, 12:05 AM
I have created a flash menu and inerted it in an html page. everything works except the active state. I created the buttons as movie clips. Here's the actionscript I used:
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");
}
about_mc.onRelease = function () {
getURL("about.html");
}
videos_mc.onRelease = function () {
getURL("videos.html");
}
photos_mc.onRelease = function () {
getURL("photos.html");
}
I have created keyframes as _over, _down and _out, but for some reason the "active" state doesn't work. Any suggestions much appreciated!
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");
}
about_mc.onRelease = function () {
getURL("about.html");
}
videos_mc.onRelease = function () {
getURL("videos.html");
}
photos_mc.onRelease = function () {
getURL("photos.html");
}
I have created keyframes as _over, _down and _out, but for some reason the "active" state doesn't work. Any suggestions much appreciated!