This is an automated email from the ASF dual-hosted git repository. piotrz 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 9642095 MXRoyale: Add and fix StateChangeEvent to compilation - Fix BitmapAsset by removing unused flash import 9642095 is described below commit 964209527c8016141759272a66e62bfba9d24100 Author: pzarzycki <piotr.zarzy...@wipro.com> AuthorDate: Thu Oct 22 12:10:04 2020 +0100 MXRoyale: Add and fix StateChangeEvent to compilation - Fix BitmapAsset by removing unused flash import --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 2 +- frameworks/projects/MXRoyale/src/main/royale/mx/core/BitmapAsset.as | 1 - .../projects/MXRoyale/src/main/royale/mx/events/StateChangeEvent.as | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index 5df4854..d091291 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -34,7 +34,7 @@ internal class MXRoyaleClasses import mx.effects.AnimateProperty; AnimateProperty; //import mx.effects.easing.Cubic; Cubic; //import mx.effects.easing.Quintic; Quintic; - //import mx.events.StateChangeEvent; StateChangeEvent; + import mx.events.StateChangeEvent; StateChangeEvent; //import mx.graphics.BitmapFill; BitmapFill; //import mx.graphics.BitmapFillMode; BitmapFillMode; //import mx.managers.PopUpManagerChildList; PopUpManagerChildList; diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/BitmapAsset.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/BitmapAsset.as index d8e3e68..5ebe0e1 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/BitmapAsset.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/BitmapAsset.as @@ -21,7 +21,6 @@ package mx.core { import org.apache.royale.display.BitmapData; -import flash.display.DisplayObjectContainer; import org.apache.royale.events.Event; import org.apache.royale.geom.Point; import mx.system.ApplicationDomain; diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/StateChangeEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/StateChangeEvent.as index 417d6df..5666058 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/StateChangeEvent.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/StateChangeEvent.as @@ -36,7 +36,7 @@ import org.apache.royale.events.Event; */ public class StateChangeEvent extends Event { - include "../core/Version.as"; + //include "../core/Version.as"; //-------------------------------------------------------------------------- // @@ -195,7 +195,7 @@ public class StateChangeEvent extends Event /** * @private */ - override public function clone():Event + override public function cloneEvent():Event { return new StateChangeEvent(type, bubbles, cancelable, oldState, newState);