I sent the question and realize that it was my fault... it works when i do var bla:Object = new Object();
but the reason of my question is that i have something like that, and it's been declared as an object because come from a XML decoder, but i need to test if the property exists or not... and if i do "if(object.property)" returns error 1009. There is any other way to test if it exists? thnks --- In [email protected], "Rafael Faria" <[EMAIL PROTECTED]> wrote: > > in the following code i'm "trying" to test if the property of an > object exists but it doesnt work, how can i do that? i'm getting an > error and i'm trying to handle that because sometimes it will have the > property sometimes not... > > > var bla:Object; > > if (bla.test) { // RETURNS an ERROR > > } >

