-------------
import mx.utils.ObjectUtil;
ObjectUtil.toString( loginVO );
-------------
This makes life a bit easier :-)
Jeremy.
On 8/7/06, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:
already answered by joostRegards,Bjorn SchultheissSenior Flash DeveloperQDC Technologies
From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn Schultheiss
Sent: Monday, 7 August 2006 11:38 AM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Dump?
public function dump(obj:*):String{for (var i in obj){trace('key: '+i+', value: '+obj[i] );}}Regards,Bjorn SchultheissSenior Flash DeveloperQDC Technologies
From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of malik_robinson
Sent: Monday, 7 August 2006 10:18 AM
To: [EMAIL PROTECTED]ups.com
Subject: [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
- 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] Dump? malik_robinson
- RE: [flexcoders] Dump? Joost Nuijten
- RE: [flexcoders] Dump? Bjorn Schultheiss
- RE: [flexcoders] Dump? Bjorn Schultheiss
- Re: [flexcoders] Dump? Jeremy Lu
- RE: [flexcoders] Dump? Bjorn Schultheiss
- RE: [flexcoders] Dump? Joost Nuijten
- RE: [flexcoders] Dump? Joost Nuijten
- [flexcoders] Re: Dump? grant.straker
- Re: [flexcoders] Dump? Tom Chiverton
Reply via email to

