topical media & game development

talk show tell print

lib-flex-animation-code-10-org-as3lib-kitchensync-action-KSTrace.ax

lib-flex-animation-code-10-org-as3lib-kitchensync-action-KSTrace.ax (swf ) [ flash ] flex


  package org.as3lib.kitchensync.action
  {
          
Traces a message at the specified time.

  
          public class @ax-lib-flex-animation-code-10-org-as3lib-kitchensync-action-KSTrace extends KSFunction
          {
                  
The message to trace

  
                  public function get message():String { return _args[0]; }
                  public function set message(message:String):void { _args[0] = message; }
                  
                  
Constructor.
parameter: message - the message to be displayed in the trace window.
parameter: delay - the time to wait before tracing in frames.

  
                  public function @ax-lib-flex-animation-code-10-org-as3lib-kitchensync-action-KSTrace(message:*, delay:* = 0)
                  {
                          super(delay, trace, message.toString());
                  }
                  
                  override public function clone():IAction { 
                          var clone:@ax-lib-flex-animation-code-10-org-as3lib-kitchensync-action-KSTrace = new @ax-lib-flex-animation-code-10-org-as3lib-kitchensync-action-KSTrace(message, _delay);
                          clone.autoDelete = _autoDelete;
                          return clone;
                  }
                  
          }
  }


(C) Æliens 19/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.