teriel
November 22nd, 2004, 08:08 PM
Hi all,
I have a invisable button over a picture, the button links to my contact page. The problem is that I have my main menu deactivate the button when you press on it and reactivate when you go to anouther page. With the invisable button it dont reactivate the the bio button in which the button is on. How do I get it to reactivate the bio menu button?
Here is the Code used in the main menu:
stop();
//----------------<re-enable menu options>-----------------\\
function reActivateBtns() {
MM_bio.enabled = true;
MM_contact.enabled = true;
MM_gallery.enabled = true;
MM_home.enabled = true;
changeOptionColor(MM_bio, outColor);
changeOptionColor(MM_gallery, outColor);
changeOptionColor(MM_home, outColor);
changeOptionColor(MM_contact, outColor);
};
//----------------</re-enable menu options>-----------------\\
//----------------<about us option>-----------------\\
MM_bio.onRelease = function () {
reActivateBtns();
this.enabled = false;
_level0.myMCL.loadClip("bio.swf", 5);
};
//----------------</about us option>-----------------\\
//----------------<contact us option>-----------------\\
MM_contact.onRelease = function () {
reActivateBtns();
this.enabled = false;
_level0.myMCL.loadClip("contact.swf", 5);
};
//----------------</contact us option>-----------------\\
here is the code for the invisable button on the bio page:
on (release) {
_level0.myMCL.loadClip("contact.swf", 5);
}
Thanks for the help,
Teriel
I have a invisable button over a picture, the button links to my contact page. The problem is that I have my main menu deactivate the button when you press on it and reactivate when you go to anouther page. With the invisable button it dont reactivate the the bio button in which the button is on. How do I get it to reactivate the bio menu button?
Here is the Code used in the main menu:
stop();
//----------------<re-enable menu options>-----------------\\
function reActivateBtns() {
MM_bio.enabled = true;
MM_contact.enabled = true;
MM_gallery.enabled = true;
MM_home.enabled = true;
changeOptionColor(MM_bio, outColor);
changeOptionColor(MM_gallery, outColor);
changeOptionColor(MM_home, outColor);
changeOptionColor(MM_contact, outColor);
};
//----------------</re-enable menu options>-----------------\\
//----------------<about us option>-----------------\\
MM_bio.onRelease = function () {
reActivateBtns();
this.enabled = false;
_level0.myMCL.loadClip("bio.swf", 5);
};
//----------------</about us option>-----------------\\
//----------------<contact us option>-----------------\\
MM_contact.onRelease = function () {
reActivateBtns();
this.enabled = false;
_level0.myMCL.loadClip("contact.swf", 5);
};
//----------------</contact us option>-----------------\\
here is the code for the invisable button on the bio page:
on (release) {
_level0.myMCL.loadClip("contact.swf", 5);
}
Thanks for the help,
Teriel