1

How can I define a custom operator - for example equality operator - for a custom class?

Mat
  • 25
  • 5
  • 1
    Are you talking about operator overloding? AS3 doesn't allow for it. You'd have to create a custom method instead. – Sam Mar 16 '11 at 21:16

1 Answers1

5

There is no native operator overloading in ActionScript.

You might want to check out this or this.

Community
  • 1
  • 1
Max Dohme
  • 710
  • 5
  • 12