Master Write tracer-flash code debugging Class code download _flash as

Source: Internet
Author: User
As3]tracer-flash code Debugging Class

Component version: 1.0
Feature Description: You can debug code (similar to the Trace command) from the Flash edit state.
Running platform: Flash Cs3,actionscript3,flash Player 9 +
Call Interface:

Copy Code code as follows:

Public interface Com.klstudio.util.Tracer {
Whether it is a control console;
function Isconsole (): Boolean
Debug as Code;
static function Debug (object:*): void
}

Example Description:

1, the first installation of Tracer component files (component installation package files in the download file);
2, put the tracer components into the library or scene;
3, to "import Com.klstudio.util.Tracer" to refer to the class;
4, open the download file in the Tracer.exe (this is the console file);
5, the following is the invocation of the instance program;

Copy Code code as follows:

Import Com.klstudio.util.Tracer;
var A:boolean = false;
Tracer.debug (a);
var b:number = 1.22;
Tracer.debug (b);
var c:array = ["A", "B"];
Tracer.debug (c);
var d:sprite = new Sprite ();
Tracer.debug (d);
var e:shape = new Shape ();
Tracer.debug (e);

Package download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.