You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2021/03/04 12:34:17 UTC

[royale-asjs] branch develop updated: URLLoaderDataFormat added in mx emulation

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 506737c  URLLoaderDataFormat added in mx emulation
506737c is described below

commit 506737cbd1445c48259d26d331838ddaddfba017
Author: alinakazi <al...@gmail.com>
AuthorDate: Thu Mar 4 17:34:04 2021 +0500

    URLLoaderDataFormat added in mx emulation
---
 .../MXRoyale/src/main/royale/MXRoyaleClasses.as    |  2 +
 .../src/main/royale/mx/net/URLLoaderDataFormat.as  | 55 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
index 8e4f211..5e3d2d9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
@@ -193,6 +193,8 @@ internal class MXRoyaleClasses
 	import mx.events.HTTPStatusEvent; HTTPStatusEvent;
 	import mx.net.FileReference; FileReference;
 	import mx.net.FileFilter; FileFilter;
+	import mx.net.URLLoaderDataFormat; URLLoaderDataFormat;
+	
 	import mx.events.ProgressEvent; ProgressEvent;
 	import mx.events.ColorPickerEvent; ColorPickerEvent;
     import mx.controls.advancedDataGridClasses.AdvancedDataGridColumnList; AdvancedDataGridColumnList;
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/net/URLLoaderDataFormat.as b/frameworks/projects/MXRoyale/src/main/royale/mx/net/URLLoaderDataFormat.as
new file mode 100644
index 0000000..ffdd833
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/net/URLLoaderDataFormat.as
@@ -0,0 +1,55 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.net
+{
+	
+	
+	/**
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 * 
+	 *  @royalesuppresspublicvarwarning
+	 */
+	public class URLLoaderDataFormat extends Object
+	{
+		/**
+		 
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function URLLoaderDataFormat()
+		{
+			super();
+		}
+		
+		public static const BINARY:String = "binary"
+		public static const TEXT:String = "text"
+		public static const VARIABLES:String = "variables"
+
+        
+
+	}
+	
+}
\ No newline at end of file