topical media & game development

talk show tell print

explore-ximpel-net-ximpel-events-ScoreEvent.ax

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


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

  
                  public static const SCORE_CHANGED:String = "scoreChanged";
                  
                  
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 score.

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


(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.