Is it possible to override the equals() operator (ie. for customer classes where equality may be determined by 2 or more fields matching).
views:
572answers:
1
+5
A:
if you mean overloading "==" as a synonym for equals() then you can't, as ActionScript doesn't offer operator overloading. Just write an equals() method for your class and use that...
Scott Evernden
2009-05-04 04:25:28