topical media & game development

talk show tell print

actionscript-misc-CustomMousePointerDemo.ax

actionscript-misc-CustomMousePointerDemo.ax [swf] flex


  package {
    import flash.display.*;
  
    // Demonstrates the use of the CustomMousePointer class.
    public class @ax-actionscript-misc-CustomMousePointerDemo extends Sprite {
      private var pointer:actionscript_misc_CustomMousePointer;
  
      // Constructor
      public function @ax-actionscript-misc-CustomMousePointerDemo () {
        // Create a new CustomMousePointer object and add it to the display 
        // list. The act of adding the CustomMousePointer object to the 
        // display list automatically replaces the system mouse pointer with
        // the CustomMousePointer. 
        pointer = new actionscript_misc_CustomMousePointer();
        addChild(pointer);
      }
    }
  }
  


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