import mx.utils.ObjectUtil;
trace(ObjectUtil.toString(evt));
or...
out.text += "\n" + ObjectUtil.toString(evt);
Does a WONDERFUL job. You will never look at objects the same ;-)
Peace, Mike
On 2/7/06, bhaq1972 <[EMAIL PROTECTED]> wrote:
i have cellPress event in my DataGrid. The following code doesnt work.
can someone tell me the correct syntax
private myCellPressEvnt(event:DataGridEvent):void
{
for(var obj1:Object in event)
{
//out is a <mx:TextArea >
out.text += obj1 + event[obj1] + "\n";
}
}
TIA
bod
--
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
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
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

