Deactivate a button...or mc

Hi m8,

I’m sort of new to flash as well but I managed to make something work by putting this in with your button code,


on(release){
 if (_root.section != "page1.swf") 
 {  
  _root.section = "page1.swf";
  _root.content.loadMovie("page1.swf");
 }
}

I pretty much lifted this from a tutorial on this site by Claudio so can’t take credit but hope this helps, here’s the link to the tutorial as well. :kir:

http://www.kirupa.com/developer/mx/preloader_transition.htm

I replaced _parent with _root for my test but am hoping you can change that without it not working.

Hope this works for you. :slight_smile: