Basic syntax

hi,

why do we use : in flash mx 2004.

I went through the following example

function Product (id:Number, prodName:Name, price:Number)
{
this.id:Number = id;
this.prodName:String = prodName;
this.price:Number = price;
}

Is it something like “C language”, where we declare char, int etc.,