This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 1d9f94138779dc4268cc4618f71142148d69c0c5 Author: Alex Harui <aha...@apache.org> AuthorDate: Wed Nov 21 18:46:21 2018 -0800 use mx.events.MouseEvent in UIComponent --- .../projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as index d74074a..92453fb 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as @@ -86,6 +86,18 @@ import org.apache.royale.utils.PointUtils; import org.apache.royale.utils.loadBeadFromValuesManager; /** + * Set a different class for click events so that + * there aren't dependencies on the flash classes + * on the JS side. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion Royale 0.0 + */ +[Event(name="click", type="mx.events.MouseEvent")] + +/** * Dispatched when the component has finished its construction * and has all initialization properties set. *