5 Replies Latest reply on Jan 6, 2007 11:06 PM by kglad

    Button visibilty in targeted movie

      Hello All,

      I hope you are doing well. I was hoping you might be able to help me with a bit of code.

      I have a main move that calls up another movie loaded into loadswf_mc (this mc holds mainPlayer.swf). I want to be able to hide a button in that swf.

      Here's the code I have:
      _root.loadswf_mc.pagebox_btn._visible = false;

      It does not work. However if I put this script (pagebox_btn._visible = false;) directly into the first frame of the loaded movie (mainPlayer.swf), the code works. So, it's not the code, so I guess it has to be the path.

      I have also tried:
      loadswf_mc.pagebox_btn._visible = false;
      _root.pagebox_btn._visible = false;
      pagebox_btn._visible = false;

      But, nothing is working. I have a very tight deadline on this project and I am stuck, so any help would be greatly appreciated.

      Thank you,