This is probably my fault so thanks for fixing.

Can you explain why flash.events.MouseEvent needs to be retained?

From: [email protected]<mailto:[email protected]>
Sent: Monday, September 21, 2020 2:30 AM
To: [email protected]<mailto:[email protected]>
Subject: [royale-asjs] branch develop updated: Fixing the build. This might 
need more attention, although any issue is likely to be SWF-specific (assumed) 
which is low-priority for now.

This is an automated email from the ASF dual-hosted git repository.

gregdove 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 89a7d95  Fixing the build. This might need more attention, although 
any issue is likely to be SWF-specific (assumed) which is low-priority for now.
     new 07c3998  Merge branch 'develop' of 
https://github.com/apache/royale-asjs into develop
89a7d95 is described below

commit 89a7d9570752da1ec7b961d9c2479793a6ddc18a
Author: greg-dove <[email protected]>
AuthorDate: Mon Sep 21 11:19:13 2020 +1200

    Fixing the build.
    This might need more attention, although any issue is likely to be 
SWF-specific (assumed) which is low-priority for now.
---
 .../src/main/royale/mx/events/FlexMouseEvent.as        | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/events/FlexMouseEvent.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/events/FlexMouseEvent.as
index 156da47..5b2d6a6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/FlexMouseEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/FlexMouseEvent.as
@@ -20,11 +20,17 @@
 package mx.events
 {

+COMPILE::SWF{
+       import flash.events.MouseEvent;
+       import flash.events.Event;
+       import flash.display.InteractiveObject;
+}
+
+COMPILE::JS{
+       import org.apache.royale.events.Event;
+       import org.apache.royale.events.MouseEvent;
+}
 import mx.core.UIComponent;
-import org.apache.royale.events.Event;
-import org.apache.royale.events.MouseEvent;
-import org.apache.royale.events.MouseEvent;
-import org.apache.royale.events.Event

 /**
  *  The FlexMouseEvent class represents the event object passed to
@@ -36,7 +42,7 @@ import org.apache.royale.events.Event
  *  @productversion Flex 3
  */
 COMPILE::SWF {
-public class FlexMouseEvent extends org.apache.royale.events.MouseEvent
+public class FlexMouseEvent extends flash.events.MouseEvent
 {
     //include "../core/Version.as";

@@ -281,7 +287,7 @@ public class FlexMouseEvent extends 
org.apache.royale.events.MouseEvent
         /**
          *  @private
          */
-       override public function clone():org.apache.royale.events.Event
+       override public function clone():flash.events.MouseEvent
         {
                 return new FlexMouseEvent(type, bubbles, cancelable);
                 // , localX, localY,

Reply via email to