1 Reply Latest reply on May 27, 2007 2:05 PM by kglad

    simplify my code...

    DZ-015 Level 1
      Hey - here's a code clip from one of my AS classes...

      var oThis:Object = this;
      _oListener.onLoadInit = function(mcThumb:MovieClip):Void {
      //call the updater.

      Now, this code works fine... but I feel a bit silly having just one line of code in a function... shouldn't there be some way to do something like this....?

      var oThis:Object = this;
      _oListener.onLoadInit = oThis._TSU.thumbLoaded(mcThumb);

      Any tips? What am I doing wrong here?

      Thanks again!