Strange function [Help solved]

Help me solved problem, i found in internet sources files, in code i see strange function:

public function free(flash.display:InteractiveObject:int, flash.display:InteractiveObject:int) : Boolean
        {
            if (Cells[flash.display:InteractiveObject * w + flash.display:InteractiveObject] == false)
            {
                return true;
            }
            if (flash.display:InteractiveObject < 0 || flash.display:InteractiveObject >= w || flash.display:InteractiveObject < 0 || flash.display:InteractiveObject >= h)
            {
                return true;
            }
            return false;
        }

function does not work, in window error write error:
1084: Syntax error: expecting rightparen before colon.

Please help me solve the problem

and another function

 public function inside(flash.display:InteractiveObject:int, flash.display:InteractiveObject:int) : Boolean
        {
            if (flash.display:InteractiveObject >= mv.x && flash.display:InteractiveObject < mv.x + mv.width && flash.display:InteractiveObject >= mv.y && flash.display:InteractiveObject < mv.y + mv.height)
            {
                return true;
            }
            return false;
        }

Thanks