1 Reply Latest reply on Jan 2, 2007 10:14 PM by kglad

    MovieClipLoader

    Thepoor13 Level 1
      in my project, i have to load multiple jpg file, and i use MovieClipLoader Class, this class' events have only a params, but when i want to know which Movieclip is errored in Number (index of array)
      i can't pass this param to the event
      exam:
      my_mcl.onLoadStart=function( theFirst:Boolean, target_mc:MovieClip){
      //action
      }
      how to do this?
      pass the param to "theFirst"
        • 1. Re: MovieClipLoader
          kglad Adobe Community Professional & MVP
          the target movieclip is a parameter in the onError method of the moviecliploader class' listener. you can retrieve your parameter from the target's name (if it's chosen wisely) or you can always define a variable of the target that stores your index.