1 Reply Latest reply on Nov 24, 2007 11:05 AM by kglad

    custom function, passing parameters

    kamckng Level 1
      If i create a function... function blah(A:MovieClip, B:MovieClip, C:String):Void...

      is there a way that when i call it i can pass A and C to it and skip passing B and have the function assign a default value to B? I think i saw that you can do that now in AS3... but i cant find a way to do it in AS2.

      so what i want to do is something like blah(A, , C); and somehow only be able to send the first and third parameter if i want.

      Thanks!
      Kyle