Check out:

mx.utils.ObjectUtil.toString();

--
package
{
        import flash.display.Sprite;
        
        public class ViewType extends Sprite
        {
                import mx.utils.ObjectUtil;
                import flash.util.trace;
                
                public function ViewType()
                {
                        
                        var o:Object = new Object();
                                o.foo = "bar";
                                o.arr = [{name:"Homer"}, {name:"Bart"}];

                        trace(ObjectUtil.toString(o));
                }
        }
}
--

mike chambers

[EMAIL PROTECTED]

Zane Hejduk wrote:
> Hi,
> 
> Is there an easy way to inspect objects in Flex 2?
> 
> ------------------------------------------------------------------------
> Yahoo! Messenger with Voice. 
> <http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com>
>  
> PC-to-Phone calls for ridiculously low rates.
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
> 
>     *  Visit your group "flexcoders
>       <http://groups.yahoo.com/group/flexcoders>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>. 
> 
> 
> ------------------------------------------------------------------------
> 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to