2 Replies Latest reply on Feb 10, 2007 2:55 PM by thahip

    Just can't get my head around onLoadInit/movieClipLoader

    thahip Level 1

      I am loading images into flash from a mySQL database with php using this code:

      myData.onLoad = function(succes){
      for(var i=0; i<this.cant; i++){
      } else trace("Error loading data");

      I need to set what size these images display at as they need to be shown as thumbnails as well as main images. I have learnt that it is best to do this using the onLoadInit and moviecliploader actionscript but I just can't understand what they are doing in the help files. Does anyone have any advice or code examples that might help. This is my first venture into using flash with a database so the syntax loses me at times.