1 Reply Latest reply on Aug 16, 2007 2:16 PM by klintonray

    loadClip

    cre8ive1974
      I'm trying to build a photo gallery that uses the following code..

      picButton.onPress=function(){
      var MCL:MovieClipLoader = new MovieClipLoader();
      MCL.loadClip ("otten.swf","holder");
      }

      That works swell, however when I click another button I have it load into the same "holder" MC, so the current MC in that holder is cleared so the screen goes blank. I would like it so that the MC that is currently displayed stays and the other image loads over it, then when the 2nd MC is loaded the original MC is cleared.

      I was thinking that I need to add Listeners, so that when the onLoadInit is reached the MC would be "swapped" to another MC holder, one that is behind the original holder so the next time another MC is loaded it will load over the first MC. Not sure how to do this or if it is even possible?

      Can anyone help with this?

      Thanks
      D