Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Bubble Sort Algorithm (for Strings)
Behaviour to copy files, handy for backup files
SpriteMap
Generic behavior to create a Shortcut
Prompt for Disk
Vector Shapes - Create Spiral & Create Spiral Twist
Rollover Sound
Making Stage fill screen or not
Josh Chunick's Personal Site
Wait for a Keypress
 

 

 

Behavior Projector debugger

Added on 10/18/1999

 

Compatibilities:
D7 D8 Mac PC Script

This item has not yet been rated

Author: MediaMacros (website)

Modify your projector.ini file to include this entry... [Settings] MessageWindow=1 This will open the message window in the projector. From there you can run the scripts which will trace the data and output all the information into a log file for debugging.

--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)

on startTrace logName, load
  the traceLogFile = the moviePath & logName
  if load = true then traceLoad = 2
  the trace = 1
end

on stopTrace
  the trace = 0
  the traceLogFile = ""
  the traceLoad = 0
end

on getBehaviorDescription me
  describe = "Place this in any movie or projector. Modify your projector.ini file to include the following entry:"
  describe = describe & return & "[Settings]" & return & "MessageWindow=1" & return & "This opens the message window in the projector and allows you to call the startTrace and stopTrace commands."
  describe = describe & return & "logName is the name of the created log file." & return & "Load is a boolean that determines if a members load status is also tracked."
  return describe
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail