topical media & game development

talk show tell print

explore-ximpel-net-ximpel-events-SubjectEvent.ax

explore-ximpel-net-ximpel-events-SubjectEvent.ax [swf] flex


  package net.ximpel.events
  {
          import flash.events.Event;
  
          public class @ax-explore-ximpel-net-ximpel-events-SubjectEvent extends Event
          {
          
                  public var subject:String;
  
                  
Defines the value of the type property of a subjectChanged event object. @eventType subjectChanged

  
                  public static const SUBJECT_CHANGED:String = "subjectChanged";
                  
                  
Constructor.
parameter: type The event type; indicates the action that caused the event.
parameter: bubbles Specifies whether the event can bubble up the display list hierarchy.
parameter: cancelable Specifies whether the behavior associated with the event can be prevented.
parameter: score The new subject.

  
                  public function @ax-explore-ximpel-net-ximpel-events-SubjectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, subject:String = "")
                  {
                          super(type);
                          this.subject = subject;
                  }
                  
                  override public function clone():Event
                  {
                          return new @ax-explore-ximpel-net-ximpel-events-SubjectEvent(type, bubbles, cancelable, subject);
                  }
          }
  }
  


(C) Æliens 27/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.