Flash CS3 - Custom Mouse Pointer
Click on each mouse pointer pointer.as package { import flash.display.*; import flash.events.*; import flash.filters.*; import flash.text.*; import flash.ui.Mouse; public class pointer extends Sprite { //you can see them on the stage var pnt_1= new Pointer_1(); var pnt_2= new Pointer_2(); var pnt_3= new Pointer_3(); //your current Mouse Pointer var CurrentPointer = new MovieClip(); var Text1:TextField = new TextField(); var Text2:TextField = new TextField(); var Text3:TextField = new TextField(); var DropShadow:DropShadowFilter = new DropShadowFilter(); public function pointer():void { //add three custom pointers on the stage AddPointers(); AddText(); //give them a shadow effect ApplyFilter(); //we use this id in function PointerListener() pnt_1.id=1; pnt_2.id=2; pnt_3.id=3; pnt_1.addEventListener(MouseEvent.CLICK, PointerListener); pnt_2.addEventListener(MouseEvent.CLICK, PointerListener); pnt_3.addEventListener(MouseEvent.CLICK, PointerListener); addChild(CurrentPointer); } private f...