PDA

View Full Version : overloading operators, supported in AS3?


csdstudio
09-23-2006, 05:12 PM
Does AS3 support overloading operator functionality?

Such as this ( C+ maybe? )...

int Point3d:: operator == (Point3d &p)
{
}

...could be something like this in AS3:

public function == (p:Point3d ):int
{
}

:rolleyes:

senocular
09-23-2006, 05:34 PM
overloading is still not supported in AS3 (and that includes operators)