I have on loop introspecting objects and parsing them based on their properties.
It all works fine with normal objects. But I´m using some objects with a custom namespace and the same loop doesn’t recognize any property and doesn’t trace anything. The loop is pretty standard but I´m pasting here anyway:
for (var id:String in record)
{
trace(id, " : ", record[id]);
}
anybody knows how to overcome this?
Thanks for any help!
Ok, so I just found a solution.
It seems that cloning the object with bytearrays returns an Object with the default namespace.
the function follows:
I´ll leave it here if anyone have the same problem…