[xray] Tracing Objects in Xray
Bachir El Khoury
bachirk at gmail.com
Thu May 8 00:26:22 PDT 2008
Ah I see it works great, thanks.
My problem is I wanted to trace a dictionary loaded and parsed from a Yaml
file.
Did couple tests:
private function handleComplete(event:Event):void
{
_dataPresentations =
YAML.decode(event.target.data) as Dictionary;
//log.debug(_dataPresentations);
var testObj:Object =
{id:"name", test: "testing"};
//var
log.info("test
1",_dataPresentations); // outputs test1
log.info("test
2",_dataPresentations.Stack);// outputs test2 following by the entire
dictionary tree, note that Stack is the root tag/element in the Yaml
log.info("test 3",testObj);
//outputs the entire Object tree as expected
}
It was just weird how it didnt trace(test1, object);
Anyways all good now, it helped alot thanks mate.
Bachir
From: xray-bounces at osflash.org [mailto:xray-bounces at osflash.org] On Behalf
Of Cedric M. analogdesign
Sent: Thursday, May 08, 2008 5:04 PM
To: xray at osflash.org
Subject: Re: [xray] Tracing Objects in Xray
Hi there,
Using Xray_Flex2_Library_v0.5.swc, tryout the following:
import com.blitzagency.xray.logger.XrayLog;
var log:XrayLog=new XrayLog();
log.info("hello world",myVar,myVar2);
log.fatal("my computer is exploding")
I hope this will help you...
Best regards.
Cedric M. (aka maddec)
Interactive Creator
Adobe Flash/Flex/AIR Specialist
Since 1998
----------------------------------------------------
http://analogdesign.ch <http://analogdesign.ch/>
http://analogdesign.ch/blog
visual & interactive communication
----------------------------------------------------
_____
De : xray-bounces at osflash.org [mailto:xray-bounces at osflash.org] De la part
de Bachir El Khoury
Envoyé : jeudi, 8. mai 2008 03:16
À : xray at osflash.org
Objet : [xray] Tracing Objects in Xray
Hi everyone,
I am using flashdevelop with flex 3 SDK, developing in AS3.
I am using this library:
Xray_Flex2_Library_v0.5.swc
Initiating the Xray adding it to the stage as such:
xray = new Xray();
addChild(xray);
and using xrayLogger to trace all outputs etc
the connector is connecting successfully to the Flex interface, allowing to
dig down the swf.
But I couldnt get trace objects in Xray!
I tried the usage info at http://osflash.org/xray
but none of the methods worked.
XrayLog.debug etc.. methods only accepts strings.
Any directions of use or info would be really appreciated.
Thanks,
Bachir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/xray_osflash.org/attachments/20080508/de595d97/attachment-0001.html
More information about the xray
mailing list