Hello
I have a question for any OOP experts our there:
Is it possible to limit access to an object’s property values based on the type of object requesting it?
For example:
public function get someValue():Type
{
if(the object requesting this information is the right type)
{
return _value;
}
else
{
trace("Sorry, you can't access this property")
}
}