Anna Gatta
2009-03-11 11:13:13 UTC
I want to use labels with the gotoAndStop, but in CS4 I don't get it to work
:-/
I also would like some tips on how to make the "active" menu non-active while
you are on its page. Here is some code I have been trying, but it seems like I
need to do an addEventListener and I just can't figure it out... Any help would
be highly appreciated!
------------------------------
stop();
home_btn.onRelease = function () {
gotoAndStop("home");
}
stop();
projects_btn.onRelease = function () {
gotoAndStop("projects");
}
stop();
portfolio_btn.onRelease = function () {
gotoAndStop("portfolio");
}
stop();
clients_btn.onRelease = function () {
gotoAndStop("clients");
}
clients_btn.enabled = false;
----------------------------------
:-/
I also would like some tips on how to make the "active" menu non-active while
you are on its page. Here is some code I have been trying, but it seems like I
need to do an addEventListener and I just can't figure it out... Any help would
be highly appreciated!
------------------------------
stop();
home_btn.onRelease = function () {
gotoAndStop("home");
}
stop();
projects_btn.onRelease = function () {
gotoAndStop("projects");
}
stop();
portfolio_btn.onRelease = function () {
gotoAndStop("portfolio");
}
stop();
clients_btn.onRelease = function () {
gotoAndStop("clients");
}
clients_btn.enabled = false;
----------------------------------