2 Replies Latest reply on Dec 15, 2006 12:06 PM by Matt-R

    Loading a pic from a Movie Clip

    Matt-R
      I currently have a site that loads pics by rolling over a button. I would like to change the buttons to Movie Clips but still be able to load the pics.

      In the root of my Flash file I have this action script:
      var myMCL:MovieClipLoader = new MovieClipLoader();

      Then on each button I have this script which loads the pic into an empty MovieClip called "container":
      on (rollOver) {
      myMCL.loadClip("images/image01.jpg", "container");
      }

      This script doesn't seem to work when I apply it to a MovieClip that I want to fucntion like a button. I need it to be a MovieClip because there is other stuff I want the MC to do that a button can't do.

      Any ideas?