To elaborate a bit: ObjectUtil.toString() has a few things it won't show by default (like anything named password, and a couple of others). It's to help stop you accidentally exposing important stuff in trace() statements that make it into production that anybody with the debug player can see.
-Josh On Thu, Jun 12, 2008 at 2:36 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > Try ObjectUtil.toString(bla, null, []); > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Rafael Faria > *Sent:* Wednesday, June 11, 2008 9:30 PM > *To:* [email protected] > *Subject:* [flexcoders] Another Bug? Security? OBject Related. > > > > Someone can explain to me why flex just disapear with my variable > "password" in the following example? > > var bla:Object = new Object(); > bla.password = "TEST"; > bla.username = "Rafael"; > trace(ObjectUtil.toString(bla)); > > Is it a security thing on flex? Is there any way to work around it as > i need to use password as a name. > > Someone? > > raf > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

