var a:int = 0; var b:int = sum(a); trace(b);// 5 private function sum(num:int):int { var c:int = 5; return c + num;//возвращает значение сложения }