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

harbs 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 057cba2  fixed mx warnings
057cba2 is described below

commit 057cba278700662043ebfab7b58c61414bc61e76
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sun Jan 9 18:40:49 2022 +0200

    fixed mx warnings
---
 frameworks/projects/MXRoyale/src/main/royale/mx/controls/HTML.as | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/HTML.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/HTML.as
index 106cb02..2603cb9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/HTML.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/HTML.as
@@ -20,11 +20,14 @@
 package mx.controls
 {
 
+COMPILE::SWF{
+    import org.apache.royale.utils.HTMLLoader;
+}
+
 import org.apache.royale.events.Event;
 import mx.events.FocusEvent;
 //import flash.events.HTMLUncaughtScriptExceptionEvent;
 import mx.events.MouseEvent;
-import org.apache.royale.utils.HTMLLoader;
 //import flash.html.HTMLHistoryItem;
 //import flash.html.HTMLHost;
 import org.apache.royale.net.URLRequest;
@@ -641,7 +644,6 @@ use namespace mx_internal;
        COMPILE::SWF {
     private var _htmlLoaderFactory:IFactory = new ClassFactory(HTMLLoader);
 
-    [Bindable("htmlLoaderFactoryChanged")]
        }
 
     /**
@@ -655,6 +657,7 @@ use namespace mx_internal;
      *  @productversion Flex 3
      */
        COMPILE::SWF {
+        [Bindable("htmlLoaderFactoryChanged")]
                public function get htmlLoaderFactory():IFactory
                {
                        return _htmlLoaderFactory;

Reply via email to