Quick script help.

Out of context: Reply #5

  • Started
  • Last post
  • 9 Responses
  • VonS0

    Make a function out of it and call it with any event you need - like button clicks, onLoad events and so on.

    go to the first first frame and enter this:

    function loadPic(myMC, pic){
    myMC.loadMovie(pic);
    }

    then, whenever you want to load a pic, type this:

    loadPic(hoder_mc, "mypic.jpg");

    use the function with multiple holder_mcs and multiple pics, if you want.

    Hope this helps,

    VS

View thread