Class com.blitzagency.xray.XrayTrace
Inheritance > XrayTrace
// to create your own instance
import com.blitzagency.xray.XrayTrace;
var xrayTrace:XrayTrace = XrayTrace.getInstance();
xrayTrace.trace("what's my array?", myArray);
// to use Xray's static property
import com.blitzagency.xray.Xray;
Xray.tt("what's my array?", myArray);
| Constructor Summary | |
|---|---|
| private | |
| Property Summary | |
|---|---|
| static XrayTrace | |
| Number | interval speed to send output back to localConnection |
| private Number | recursion controller number to keep it from going into a 256 loops error |
| String | the separator to be used in the trace output. Currently it's "::". IE: (3486) my vars: john :: sally :: joe |
| private String | the full output that is broken up and sent back to the interface |
| private String | clean formatted for Flash IDE/non HTML textboxes || this is actually not being used.
currently, all output is passed back without formatting. I'm keeping it here for future use incase
there's a breakthrough with displaying large amounts of trace output. |
| Function | |
| Function | |
| private Number | when recursing objects, I indent the nested objects/properties. This is the counter for each time
an object is recursed |
| Number | |
| Function | |
| private Array | array of broken up trace output to send back to the interface via localConnection |
| private Number | sendSI is the interval id for sending data back to the interface |
| String | |
| String | |
| String | |
| Method Summary | |
|---|---|
| private Boolean | examine(obj:Object) examine actually does the recursion of objects and builds upon the string to be sent back |
| static XrayTrace | |
| private | sendData() sends the data chunks back to the interface by dispatching an event "onSendData". LoggerConnection
is the only listener right now. |
| String | trace() loops the arguments sent in. If it finds an object, it sends it off to be examined. If not,
it adds it to the string to be returned |
| Event Summary | |
|---|---|
An event that is triggered when trace information is complete and sent back. | |
| Constructor Detail |
|---|
| Property Detail |
|---|
| Method Detail |
|---|
obj:Object| Event Detail |
|---|