dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: QUICK QUESTION: What is "trace" anyways?

  1. #1
    Dr. Bob Rulezzz
    Join Date
    Oct 2007
    Posts
    80

    QUICK QUESTION: What is "trace" anyways?

    I'm not really a noob because I can do a lot by getting around having to use things I don't how to use, but I was wondering, because "trace" is used so commonly, and I was never taught what it did, I was wondering: could someone just tell me what it does and give me an example or a link plz?

  2. #2
    5+5=55 Schfifty Five's Avatar
    Join Date
    Jun 2006
    Posts
    698
    It's for debugging and it'll output a variable to the trace/output panel when you're testing the swf from within Flash CS3/Pro 8/MX 2004, etc...
    For example: trace(car._x); will output the x coordinate of the car movieclip.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center