Выдает ошибку 1084: Syntax error: expecting identifier before this.
в коде

Код AS3:
public function formatString(param1:String) : String
{
var _loc_5:Boolean;
var _loc_6:String;
var _loc_7:*;
var _loc_2:String;
var _loc_3:Boolean;
var _loc_4:*;
while (_loc_4++ < param1.length)
{
// label
_loc_5 = false;
_loc_6 = param1.charAt(_loc_4);
if (!_loc_3)
{
_loc_7 = 0;
while (_loc_7++ < this.fmtType_keys.length)
{
// label
if (this.fmtType_keys[_loc_7].key == _loc_6)
{
var _loc_8:String;
_loc_2 = _loc_2 + _loc_8.this[this.fmtType_keys[_loc_7].func](this.fmtType_keys[_loc_7].args);
_loc_5 = true;
break;
}// end if
}// end while
}// end if
if (!_loc_3)
{
}// end if
_loc_3 = _loc_6 == "\\";
if (!_loc_5 && !_loc_3)
{
_loc_2 = _loc_2 + _loc_6;
}// end if
}// end while
return _loc_2;
}// end function
в чем тут ошибка???