You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/10/04 09:34:14 UTC
[royale-asjs] branch develop updated: Update Container.as
This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new b986406 Update Container.as
b986406 is described below
commit b9864068c52dc85c6dd694a05a4c1707f0a1662e
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Thu Oct 4 14:34:02 2018 +0500
Update Container.as
---
.../MXRoyale/src/main/royale/mx/core/Container.as | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
index e87b3aa..ee1fa8a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
@@ -1366,6 +1366,46 @@ public class Container extends UIComponent
return results;
}
+
+ //----------------------------------
+ // contentMouseX
+ //----------------------------------
+
+ /**
+ * @copy mx.core.UIComponent#contentMouseX
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Royale 0.9.3
+ */
+ override public function get contentMouseX():Number
+ {
+ /* if (contentPane)
+ return contentPane.mouseX;*/
+
+ return super.contentMouseX;
+ }
+
+ //----------------------------------
+ // contentMouseY
+ //----------------------------------
+
+ /**
+ * @copy mx.core.UIComponent#contentMouseY
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Royale 0.9.3
+ */
+ override public function get contentMouseY():Number
+ {
+ /* if (contentPane)
+ return contentPane.mouseY;
+ */
+ return super.contentMouseY;
+ }
}