typecasting generic object to Specific VO

February 20, 2008 at 7:07 am (flash) (, )

for (var prop:String in obj)
{
if (hasOwnProperty(prop))
this[prop] = obj[prop];
}

Permalink Leave a Comment