Hi,
 
The base dump function is this one:
for (var x:String in object) trace(x + ": " + object[x]);
 
What you can do is build your own class around it, so that it is recursive and you can dump every objectstructure (inc. arrays of arrays with objects).
 
 


Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens malik_robinson
Verzonden: maandag 7 augustus 2006 2:18
Aan: flexcoders@yahoogroups.com
Onderwerp: [flexcoders] Dump?

Hi,

How can I dump the following variable "loginVO" and see its output?

public function loginUser() : void
{
var loginVO : LoginVO = new LoginVO();
loginVO.username = username.text;
loginVO.password = password.text;

var event : LoginEvent = new LoginEvent( loginVO );
CairngormEventDispatcher.getInstance
().dispatchEvent( event );
}

I would like to dump similar to how you dump the output of a
variable in ColdFusion

Thanks,

-Malik

__._,_.___

--
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




__,_._,___

Reply via email to