1 Reply Latest reply on May 12, 2008 11:30 AM by Ned Murphy

    new at actionscript please help

    artisticdzign
      Can someone please explain this code to me in detail.
      this is the part I really don't understand. I know that this code work I just don't know how. Thanks
      function snow(a, n) {

      for (var i = 0; i < n; i++) {

      var star:MovieClip = this.createEmptyMovieClip("star" + i, i);

      star._x = Math.random( ) * 550;

      star._rotation = (Math.random( ) * 2 * a) - a