I am currently using this code to disable and enable some buttons. However on the page i’m doing I require the buttons to become inactive for just 15 seconds then become active again. Is this possible?
[FONT=Courier New]
btnArray = [_root.btns_cntr.homeMC.home_btn, _root.btns_cntr.profileMC.profile_btn, _root.btns_cntr.servicesMC.services_btn,
_root.btns_cntr.productsMC.products_btn, _root.btns_cntr.weddingsMC.weddings_btn, _root.btns_cntr.colourMC.colour_btn,
_root.btns_cntr.tariffsMC.tariffs_btn, _root.btns_cntr.bookMC.book_btn, _root.btns_cntr.contactMC.contact_btn,
_root.main_cntr.btns_mc.organic_btn, _root.main_cntr.btns_mc.loreal_btn]
MovieClip.prototype.disableBtns = function(btnarray){
for(i=0;i<btnarray.length;i++){
btnarray*.enabled = false;
}}
MovieClip.prototype.enableBtns = function(btnarray){
for(i=0;i<btnarray.length;i++){
btnarray*.enabled = true;
}}
[/FONT]
Claire