Permalink
Browse files

Added Scaleform Extension method signature for Mouse.getPosition() (C…

…LIK/Mouse.as).
  • Loading branch information...
1 parent f51193f commit 09fe3867e71f1325e4c73876b791662050b584e5 @fabd committed Dec 9, 2012
Showing with 13 additions and 1 deletion.
  1. +13 −1 src/CLIK/Mouse.as
View
@@ -3,6 +3,10 @@
// Mouse object
//****************************************************************************
+// See:
+// Scaleform AS2 Extensions Reference.pdf
+// http://gameware.autodesk.com/documents/gfx_4.0_as2_extensions.pdf
+
intrinsic class Mouse
{
static function addListener(listener:Object):Void;
@@ -13,4 +17,12 @@ intrinsic class Mouse
// scaleform extensions
// static function getTopMostEntity(obj1:Object,obj2:Number,obj3:Boolean):Object;
static function getTopMostEntity():Object;
-}
+
+ /**
+ * This method returns coordinates of the corresponding mouse cursor, in _root
+ * coordinate space. The returned value is an instance of flash.geom.Point.
+ *
+ * Scaleform version: 2.2
+ */
+ static function getPosition(mouseIndex:Number):flash.geom.Point;
+}

0 comments on commit 09fe386

Please sign in to comment.