royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alinak...@apache.org
Subject [royale-asjs] branch develop updated: Update Application.as url property added
Date Fri, 26 Oct 2018 09:07:45 GMT
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 3df1eda  Update Application.as url property added
3df1eda is described below

commit 3df1eda8cec4a34a8ea6aadccd3b2ec604aadfda
Author: alinakazi <ALINAKAZI1990@GMAIL.COM>
AuthorDate: Fri Oct 26 14:07:41 2018 +0500

    Update Application.as url property added
---
 .../src/main/royale/mx/core/Application.as         | 25 +++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
index a065e62..3fa3d06 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
@@ -524,7 +524,30 @@ public class Application extends Container implements IStrand, IParent,
IEventDi
 			}
 		}
 	}
-		
+	
+	//----------------------------------
+    //  url
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the url property.
+     *  This variable is set in the initialize() method.
+     */
+    /* mx_internal */ private var _url:String;
+
+    /**
+     *  The URL from which this Application's SWF file was loaded.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get url():String
+    {
+        return _url;
+    }		
 	//--------------------------------------------------------------------------
 	//
 	//  Initialization and Start-up


Mime
View raw message