package { import flash.display.*; // Demonstrates the use of the CustomMousePointer class. public class actionscript_misc_CustomMousePointerDemo extends Sprite { private var pointer:actionscript_misc_CustomMousePointer; // Constructor public function 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); } } }