I am trying to figure out how to apply the is operand or the instanceof in a case statement to determine which datatype a interface object belongs too. keep getting errors
switch (IOjbect is)
{
case Tile:
trace ("Load Tile");
break;
case House:
trace ("A House Load");
break;
default:
trace ("Neither a or b was selected")
}
anyone have any ideas