I think we also have a className property
that you can use since typeof won’t give you any details beyond “object”
for a class.
Matt
Try the code below, you'll
need to put a TextArea somewhere on screen
with the id="trace_txt".
trace_txt.text = 'Object type: ' + typeof(obj) +
'\n';
for (var p in obj){
trace_txt.text += p
+ ' - ' + obj[p] + '\n';
}
-----Original Message-----
From: [email protected]
[mailto:[email protected]]
On
Behalf Of Alban Soupper
Sent: Thursday, October 13, 2005 8:14 AM
To: Flexcoders (E-mail)
Subject: [flexcoders] Object properties
Hi all,
is there a way to get the property list and the
type of an object?
Best regards,
Alban.
************************************************************************
***********
This email and any files transmitted with it are
confidential and
intended solely for the use of the individual or
entity to whom they
are addressed. If you have received this email in
error please notify
the system manager to [EMAIL PROTECTED]
************************************************************************
***********
--
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
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Object properties Matt Chotin
-