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 d9a98b79da20abf94e5f460c367ae3032a9b10ac Author: alinakazi <alinakazi1...@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