You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Alina Kazi <al...@d-bz.com> on 2018/08/10 09:19:50 UTC
WORK ON EMULATION
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
Re: WORK ON EMULATION
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Please create an GitHub issue with more of the code. It is too hard to read in email.
Thanks,
-Alex
On 8/31/18, 2:31 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
HI,
I am using data (Datatype ByteArray) property of Filereference in my Application file
Like
strFileRef is a filereference object
mobj_EmpImgBytes is a ByteArray object
mobj_EmpImgBytes = strFileRef.data
at_Bytes = mobj_EmpImgBytes;
at_Name = strFileRef.name;
at_Status = "1";
private function btnDownload_clickHandler(name:String,file:mx.utils.ByteArray,status:String):void
click="btnDownload_clickHandler(data.at_Name,data.at_Bytes,data.at_Status)"
Error occure on data.at_Name,data.at_Bytes,data.at_Status
ERROR: "Access of possibly undefined property data"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Pushmina Kazi [mailto:pushmina.kazi@d-bz.com]
Sent: Friday, August 31, 2018 9:42 AM
To: dev@royale.apache.org
Subject: RE: WORK ON EMULATION
Hi,
I am using <s:MXAdvancedDataGridItemRenderer height="22" >
Error: " Internal problem during semantic analysis of MXML"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Wednesday, August 29, 2018 9:18 PM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Pashmina,
describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
Thanks,
-Alex
On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Cbdcbb4bd89014429c86408d60f2488e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636713046927006773&sdata=PDziNgJc%2F4RH6N6ypoBliUYA3v2MOkPevWdG7NYM%2F8Y%3D&reserved=0
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Pushmina Kazi <pu...@d-bz.com>.
HI,
I am using data (Datatype ByteArray) property of Filereference in my Application file
Like
strFileRef is a filereference object
mobj_EmpImgBytes is a ByteArray object
mobj_EmpImgBytes = strFileRef.data
at_Bytes = mobj_EmpImgBytes;
at_Name = strFileRef.name;
at_Status = "1";
private function btnDownload_clickHandler(name:String,file:mx.utils.ByteArray,status:String):void
click="btnDownload_clickHandler(data.at_Name,data.at_Bytes,data.at_Status)"
Error occure on data.at_Name,data.at_Bytes,data.at_Status
ERROR: "Access of possibly undefined property data"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Pushmina Kazi [mailto:pushmina.kazi@d-bz.com]
Sent: Friday, August 31, 2018 9:42 AM
To: dev@royale.apache.org
Subject: RE: WORK ON EMULATION
Hi,
I am using <s:MXAdvancedDataGridItemRenderer height="22" >
Error: " Internal problem during semantic analysis of MXML"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Wednesday, August 29, 2018 9:18 PM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Pashmina,
describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
Thanks,
-Alex
On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Ccc5c1dd1dd1f4c65f04908d60d9f6e2f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636711375728607957&sdata=1wIBNayZSctR69trQG9YuhwFt0n6OhOu1w0x%2Flhn6tA%3D&reserved=0
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Alina Kazi <al...@d-bz.com>.
Hi Harbs,
Output contains .js & .js.map file for the last file i.e. application.js , application.map.js
How can I add multiple modules that I used to add in flex properties->modules ?
Thanks,
Alina
-----Original Message-----
From: Harbs [mailto:harbs.lists@gmail.com]
Sent: Monday, September 17, 2018 5:02 PM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
What is the output when you build?
> On Sep 17, 2018, at 1:17 PM, Alina Kazi <al...@d-bz.com> wrote:
>
> How can we compile multiple files in Visual Studio Code ?
> My asconfig.json file is as :
> {
> "config": "royale",
> "compilerOptions": {
> "debug": false,
> "targets": ["JSRoyale","SWF"],
> "source-map": true,
> "warnings": false,
> "omit-trace-statements": true,
> "html-output-filename": "index.html"
> },
>
> "additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions",
> "files":
> [
>
> // AS Files
> "shmApplication.as",
>
>
> "com/shm/utils/shmDataStructure.as",
> "com/shm/utils/shmHWMDataStructure.as",
> //MXML
> "com/shm/reports/view/AP/shmStatusCriteria.mxml",
> "applications.mxml"
>
>
> ]
> }
>
> It compiles last file only i.e. applications.mxml
>
> Regards,
> Alina Kazi
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com.INVALID]
> Sent: Saturday, September 01, 2018 4:07 AM
> To: dev@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Please try it in a smaller test case and create a GitHub Issue if you can reproduce it.
>
> Thanks,
> -Alex
>
> On 8/30/18, 9:50 PM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
>
> Hi,
> I am using <s:MXAdvancedDataGridItemRenderer height="22" >
> Error: " Internal problem during semantic analysis of MXML"
>
> Thanks in Advance
> Pashmina kazi
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com.INVALID]
> Sent: Wednesday, August 29, 2018 9:18 PM
> To: dev@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Hi Pashmina,
>
> describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
>
> Thanks,
> -Alex
>
> On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
>
>
> Hi,
> i am using describetype(customVO) and passing it as a parameter in a function
> added import of describeType but still error occurs
> ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
>
> Thanks in Advance
> Pashmina kazi
>
>
>
>
>
>
> -----Original Message-----
> From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
> Sent: Tuesday, August 14, 2018 9:57 AM
> To: users@royale.apache.org; dev@royale.apache.org
> Subject: RE: WORK ON EMULATION
>
> There’s an example here [1]
>
>
>
> [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239&sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3D&reserved=0
>
>
>
> ________________________________
> From: Alex Harui <ah...@adobe.com>
> Sent: Monday, August 13, 2018 6:48:50 PM
> To: users@royale.apache.org; dev@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Hi Alina,
>
> There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
>
> There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
>
> If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
>
> HTH,
> -Alex
>
> On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
>
> Thanks Alex.
> We are using Flash.net.FileReference in our Application
> Methods and properties of FileReference are used:
> loadFileRef.load();
> loadFileRef.browse();
> loadFileRef.name;
> loadFileRef.data;
>
> Do we have any alternate for this class in Apache Royale?
>
> -Alina
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com.INVALID]
> Sent: Friday, August 10, 2018 8:46 PM
> To: dev@royale.apache.org; users@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Hi Alina,
>
> What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
>
> -Alex
>
> On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
>
> Hi Alex,
>
>
>
> flash.display.Loader
>
> flash.display.Loader:content
>
> flash.display.Loader:contentLoaderInfo
>
> flash.display.Loader:height
>
> flash.display.Loader:load
>
> flash.display.Loader:loadBytes
>
> flash.display.Loader:mask
>
> flash.display.Loader:width
>
> flash.display.Loader:x
>
> flash.display.Loader:y
>
>
>
> These properties and methods of API Loader are used.
>
> Should I create mx Emulation for Loader?
>
>
>
> Regards,
>
> Alina Kazi
>
>
>
>
>
>
>
>
>
>
>
>
>
Re: WORK ON EMULATION
Posted by Harbs <ha...@gmail.com>.
What is the output when you build?
> On Sep 17, 2018, at 1:17 PM, Alina Kazi <al...@d-bz.com> wrote:
>
> How can we compile multiple files in Visual Studio Code ?
> My asconfig.json file is as :
> {
> "config": "royale",
> "compilerOptions": {
> "debug": false,
> "targets": ["JSRoyale","SWF"],
> "source-map": true,
> "warnings": false,
> "omit-trace-statements": true,
> "html-output-filename": "index.html"
> },
>
> "additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions",
> "files":
> [
>
> // AS Files
> "shmApplication.as",
>
>
> "com/shm/utils/shmDataStructure.as",
> "com/shm/utils/shmHWMDataStructure.as",
> //MXML
> "com/shm/reports/view/AP/shmStatusCriteria.mxml",
> "applications.mxml"
>
>
> ]
> }
>
> It compiles last file only i.e. applications.mxml
>
> Regards,
> Alina Kazi
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com.INVALID]
> Sent: Saturday, September 01, 2018 4:07 AM
> To: dev@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Please try it in a smaller test case and create a GitHub Issue if you can reproduce it.
>
> Thanks,
> -Alex
>
> On 8/30/18, 9:50 PM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
>
> Hi,
> I am using <s:MXAdvancedDataGridItemRenderer height="22" >
> Error: " Internal problem during semantic analysis of MXML"
>
> Thanks in Advance
> Pashmina kazi
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com.INVALID]
> Sent: Wednesday, August 29, 2018 9:18 PM
> To: dev@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Hi Pashmina,
>
> describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
>
> Thanks,
> -Alex
>
> On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
>
>
> Hi,
> i am using describetype(customVO) and passing it as a parameter in a function
> added import of describeType but still error occurs
> ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
>
> Thanks in Advance
> Pashmina kazi
>
>
>
>
>
>
> -----Original Message-----
> From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
> Sent: Tuesday, August 14, 2018 9:57 AM
> To: users@royale.apache.org; dev@royale.apache.org
> Subject: RE: WORK ON EMULATION
>
> There’s an example here [1]
>
>
>
> [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239&sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3D&reserved=0
>
>
>
> ________________________________
> From: Alex Harui <ah...@adobe.com>
> Sent: Monday, August 13, 2018 6:48:50 PM
> To: users@royale.apache.org; dev@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Hi Alina,
>
> There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
>
> There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
>
> If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
>
> HTH,
> -Alex
>
> On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
>
> Thanks Alex.
> We are using Flash.net.FileReference in our Application
> Methods and properties of FileReference are used:
> loadFileRef.load();
> loadFileRef.browse();
> loadFileRef.name;
> loadFileRef.data;
>
> Do we have any alternate for this class in Apache Royale?
>
> -Alina
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com.INVALID]
> Sent: Friday, August 10, 2018 8:46 PM
> To: dev@royale.apache.org; users@royale.apache.org
> Subject: Re: WORK ON EMULATION
>
> Hi Alina,
>
> What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
>
> -Alex
>
> On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
>
> Hi Alex,
>
>
>
> flash.display.Loader
>
> flash.display.Loader:content
>
> flash.display.Loader:contentLoaderInfo
>
> flash.display.Loader:height
>
> flash.display.Loader:load
>
> flash.display.Loader:loadBytes
>
> flash.display.Loader:mask
>
> flash.display.Loader:width
>
> flash.display.Loader:x
>
> flash.display.Loader:y
>
>
>
> These properties and methods of API Loader are used.
>
> Should I create mx Emulation for Loader?
>
>
>
> Regards,
>
> Alina Kazi
>
>
>
>
>
>
>
>
>
>
>
>
>
RE: WORK ON EMULATION
Posted by Pushmina Kazi <pu...@d-bz.com>.
I have added
"com/shm/VO/INV/shmAdjustmentTypeSetupVO.as"
In asconfig.json
Below is the Error occurred:
D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\com\shm\VO\INV\shmAdjustmentTypeSetupVO.as(4): col: 15 Error: An externally-visible definition with the name 'com.shm.VO.INV.shmAdjustmentTypeSetupVO' was unexpectedly found.
public class shmAdjustmentTypeSetupVO
My shmAdjustmentTypeSetupVO.as file is as :
package com.shm.VO.INV
{
[RemoteClass(alias="com.shm.VO.INV.shmAdjustmentTypeSetupVO")]
public class shmAdjustmentTypeSetupVO
{
//For server side VO
public var ad_Code:String="0";
public var ad_Desc:String="";
public var ad_SanType:String="";
public var ad_Acc_Code:String="";
public var ad_Acc_Desc:String="";
public var ad_SepTrans:String="0";
public var ad_ZeroQty:String="0";
}
}
Thanks in Advance
Pashmina Kazi
-----Original Message-----
From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Monday, September 17, 2018 3:17 PM
To: dev@royale.apache.org
Subject: RE: WORK ON EMULATION
How can we compile multiple files in Visual Studio Code ?
My asconfig.json file is as :
{
"config": "royale",
"compilerOptions": {
"debug": false,
"targets": ["JSRoyale","SWF"],
"source-map": true,
"warnings": false,
"omit-trace-statements": true,
"html-output-filename": "index.html"
},
"additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions",
"files":
[
// AS Files
"shmApplication.as",
"com/shm/utils/shmDataStructure.as",
"com/shm/utils/shmHWMDataStructure.as",
//MXML
"com/shm/reports/view/AP/shmStatusCriteria.mxml",
"applications.mxml"
]
}
It compiles last file only i.e. applications.mxml
Regards,
Alina Kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Saturday, September 01, 2018 4:07 AM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Please try it in a smaller test case and create a GitHub Issue if you can reproduce it.
Thanks,
-Alex
On 8/30/18, 9:50 PM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
I am using <s:MXAdvancedDataGridItemRenderer height="22" >
Error: " Internal problem during semantic analysis of MXML"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Wednesday, August 29, 2018 9:18 PM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Pashmina,
describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
Thanks,
-Alex
On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239&sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3D&reserved=0
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Alina Kazi <al...@d-bz.com>.
How can we compile multiple files in Visual Studio Code ?
My asconfig.json file is as :
{
"config": "royale",
"compilerOptions": {
"debug": false,
"targets": ["JSRoyale","SWF"],
"source-map": true,
"warnings": false,
"omit-trace-statements": true,
"html-output-filename": "index.html"
},
"additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions",
"files":
[
// AS Files
"shmApplication.as",
"com/shm/utils/shmDataStructure.as",
"com/shm/utils/shmHWMDataStructure.as",
//MXML
"com/shm/reports/view/AP/shmStatusCriteria.mxml",
"applications.mxml"
]
}
It compiles last file only i.e. applications.mxml
Regards,
Alina Kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Saturday, September 01, 2018 4:07 AM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Please try it in a smaller test case and create a GitHub Issue if you can reproduce it.
Thanks,
-Alex
On 8/30/18, 9:50 PM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
I am using <s:MXAdvancedDataGridItemRenderer height="22" >
Error: " Internal problem during semantic analysis of MXML"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Wednesday, August 29, 2018 9:18 PM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Pashmina,
describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
Thanks,
-Alex
On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239&sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3D&reserved=0
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
Re: WORK ON EMULATION
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Please try it in a smaller test case and create a GitHub Issue if you can reproduce it.
Thanks,
-Alex
On 8/30/18, 9:50 PM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
I am using <s:MXAdvancedDataGridItemRenderer height="22" >
Error: " Internal problem during semantic analysis of MXML"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Wednesday, August 29, 2018 9:18 PM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Pashmina,
describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
Thanks,
-Alex
On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239&sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3D&reserved=0
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Pushmina Kazi <pu...@d-bz.com>.
Hi,
I am using <s:MXAdvancedDataGridItemRenderer height="22" >
Error: " Internal problem during semantic analysis of MXML"
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Wednesday, August 29, 2018 9:18 PM
To: dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Pashmina,
describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
Thanks,
-Alex
On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Ccc5c1dd1dd1f4c65f04908d60d9f6e2f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636711375728607957&sdata=1wIBNayZSctR69trQG9YuhwFt0n6OhOu1w0x%2Flhn6tA%3D&reserved=0
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
Re: WORK ON EMULATION
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Pashmina,
describeType is a "Reflection API". If your application is using it, instead of directly emulating it, it is better to try to understand why you needed to use it in the first place and modify that code. What does that function do with the describeType XML? There might be a better way to write that code.
Thanks,
-Alex
On 8/29/18, 4:06 AM, "Pushmina Kazi" <pu...@d-bz.com> wrote:
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyishayw%2FExamples%2Fblob%2FFileProxy%2FExamples.mxml&data=02%7C01%7Caharui%40adobe.com%7Ccc5c1dd1dd1f4c65f04908d60d9f6e2f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636711375728607957&sdata=1wIBNayZSctR69trQG9YuhwFt0n6OhOu1w0x%2Flhn6tA%3D&reserved=0
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Pushmina Kazi <pu...@d-bz.com>.
Hi,
i am using describetype(customVO) and passing it as a parameter in a function
added import of describeType but still error occurs
ERROR: "Implicit coercion of a value of type TypeDefinition to an unrelated type XML".
Thanks in Advance
Pashmina kazi
-----Original Message-----
From: Yishay Weiss [mailto:yishayjobs@hotmail.com]
Sent: Tuesday, August 14, 2018 9:57 AM
To: users@royale.apache.org; dev@royale.apache.org
Subject: RE: WORK ON EMULATION
There’s an example here [1]
[1] https://github.com/yishayw/Examples/blob/FileProxy/Examples.mxml
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Yishay Weiss <yi...@hotmail.com>.
There’s an example here [1]
[1] https://github.com/yishayw/Examples/blob/FileProxy/Examples.mxml
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Yishay Weiss <yi...@hotmail.com>.
There’s an example here [1]
[1] https://github.com/yishayw/Examples/blob/FileProxy/Examples.mxml
________________________________
From: Alex Harui <ah...@adobe.com>
Sent: Monday, August 13, 2018 6:48:50 PM
To: users@royale.apache.org; dev@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
Re: WORK ON EMULATION
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
Re: WORK ON EMULATION
Posted by Alex Harui <ah...@adobe.com>.
Hi Alina,
There is a bead called org.apache.royale.file.beads.FileBrowser. I can't find any examples of use. Looks like Yishay wrote it so maybe he can help.
There is also a class called Network/src/main/royale/org/apache/royale/net/URLBinaryUploader.as you might be able to use.
If you only have a few references to FileReference in your code, it is probably simpler to change your code to use these classes, otherwise you can try to write some emulation class that tries to present the FileReference API.
HTH,
-Alex
On 8/13/18, 2:19 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Alina Kazi <al...@d-bz.com>.
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
RE: WORK ON EMULATION
Posted by Alina Kazi <al...@d-bz.com>.
Thanks Alex.
We are using Flash.net.FileReference in our Application
Methods and properties of FileReference are used:
loadFileRef.load();
loadFileRef.browse();
loadFileRef.name;
loadFileRef.data;
Do we have any alternate for this class in Apache Royale?
-Alina
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; users@royale.apache.org
Subject: Re: WORK ON EMULATION
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
Re: WORK ON EMULATION
Posted by Alex Harui <ah...@adobe.com>.
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi
Re: WORK ON EMULATION
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Alina,
What is being loaded? Flex apps should be using mx.controls.SWFLoader, mx.modules.ModuleLoader and mx.controls.Image (or their Spark equivalents) and not flash.display.Loader directly. It would be better to change your application to not use flash.display.Loader unless there are lots of instances of using it.
-Alex
On 8/10/18, 2:27 AM, "Alina Kazi" <al...@d-bz.com> wrote:
Hi Alex,
flash.display.Loader
flash.display.Loader:content
flash.display.Loader:contentLoaderInfo
flash.display.Loader:height
flash.display.Loader:load
flash.display.Loader:loadBytes
flash.display.Loader:mask
flash.display.Loader:width
flash.display.Loader:x
flash.display.Loader:y
These properties and methods of API Loader are used.
Should I create mx Emulation for Loader?
Regards,
Alina Kazi