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

cdutz pushed a commit to branch feature/distribution-allignment
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit a8f626471a48fad4a090f5310b9d71a37e8568e2
Author: alinakazi <[email protected]>
AuthorDate: Thu Feb 25 16:52:40 2021 +0500

    autoload property added in mx Image
---
 .../MXRoyale/src/main/royale/mx/controls/Image.as     | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Image.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Image.as
index d69460e..af28071 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Image.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Image.as
@@ -496,6 +496,25 @@ public class Image extends UIComponent
        }
 
        //----------------------------------
+       //  autoLoad copied from SWFLoader
+       //----------------------------------
+
+       /**
+        *  @private
+        *  Storage for the autoLoad property.
+        */
+       private var _autoLoad:Boolean = true;
+
+
+       public function get autoLoad():Boolean
+       {
+               return _autoLoad;
+       }
+    public function set autoLoad(value:Boolean):void
+       {
+               _autoLoad = value;
+       }
+       //----------------------------------
        //  scaleContent copied from SWFLoader
        //----------------------------------
 

Reply via email to