This is an automated email from the ASF dual-hosted git repository.
alinakazi 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 6b31c18 autoload property added in mx Image
6b31c18 is described below
commit 6b31c1823fcaf3aa94ac587703a0e08987a1320f
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
//----------------------------------