CustomCursor.as 417 B

123456789101112131415161718192021222324
  1. package com.imt.intimamedia.helpers
  2. {
  3. import flash.display.Graphics;
  4. import flash.display.Shape;
  5. public class CustomCursor extends Shape
  6. {
  7. public function CustomCursor()
  8. {
  9. draw();
  10. }
  11. private function draw():void {
  12. var g:Graphics = graphics;
  13. g.clear();
  14. g.lineStyle(1,0xffffff,1);
  15. g.moveTo(-7,0);
  16. g.lineTo(8,0);
  17. g.moveTo(0,-7);
  18. g.lineTo(0,8);
  19. }
  20. }
  21. }