topical media & game development

talk show tell print

flex-sandy-box-event.ax

flex-sandy-box-event.ax [swf] flex


  package
  {
          import flash.events.Event;
  
          
BoxEvent.as - Custom event which is dispatched from the Boxes class. In this case, it is used to pass the name of the object that's been clicked on. 26 September 2007
author: Dennis Ippel - www.rozengain.com

  
           
          public class @ax-flex-sandy-box-event extends Event
          {
                  
The event type

                  
                  public static const CLICKED:String = "clicked";
                  
This is used to store the name of the object that's been clicked on.

                  
                  public var which:String;
                  
                  
BoxEvent constructor. Nothing special here :-)
parameter: type
parameter: bubbles
parameter: cancelable

                  
                  public function @ax-flex-sandy-box-event(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
                  {
                          super(type, bubbles, cancelable);
                  }                
          }
  }
  


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