3 Replies Latest reply on May 29, 2007 1:50 PM by kglad

    Simultaneous Actions From One RollOver?

    putup.shutup
      Hi,

      I'm trying to set up a script where when the user rolls over a movie clip, this will swap the clip's depths so that a different movie clip replaces it, and will simultaneous load an external movie clip into an empty container.

      I'm not having any trouble getting it to do one or the other, but not both at the same time. The script i'm using is:

      whatisblack.onRollOver = function() {
      this.swapDepths(whatisred);
      };

      whatisred.onRollOut = function() {
      this.swapDepths(whatisblack);
      };

      whatisblack.onRollOver = function () {
      textHolder.loadMovie("bespoketext.swf");
      }

      Is there a simple way to combine these two functions into one script?

      Many thanks!

      bg