Re: Work on Emulation

2018-10-19 Thread Piotr Zarzycki
Hi Pushmina,

Provide full logs.

Thanks,
Piotr

pt., 19 paź 2018 o 12:56 Pushmina Kazi  napisał(a):

> Hi,
>
> I have an issue:
>
> I am compiling my library project
>
> There is no error but still build failed
>
> Why?
>
>
>
> Thanks,
>
> -Pashmina kazi
>
>
>
> *From:* Alex Harui [mailto:aha...@adobe.com]
> *Sent:* Friday, October 19, 2018 5:44 AM
> *To:* us...@royale.apache.org
> *Subject:* Re: Work on Emulation
>
>
>
> Hi Serkan,
>
>
>
> Try s:ArrayCollection to see if that works.
>
> Try removing s:ArrayCollection from the manifest and see if you then get
> the same error you are getting for ArrayList.  Maybe there is some issue
> with which SWC you are actually compiling against.  Maybe the one you
> updated isn’t in the library-path.  Also make sure you update both
> MXRoyale.swc and MXRoyaleJS.swc.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Serkan Taş 
> *Reply-To: *"us...@royale.apache.org" 
> *Date: *Thursday, October 18, 2018 at 12:49 PM
> *To: *"us...@royale.apache.org" 
> *Subject: *Re: Work on Emulation
>
>
>
> Yes, i did not commit to github for a long time. Nobody uses rather than
> me :)
>
> Here is the local one :
>
> http://ns.adobe.com/mxml/2009;
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ccaafd21a8ffc4c25aea408d63532cff6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754889739732361=OZm2sfWOqwyR6aaEsnsbeHJr76hmrk7XJ%2BJN2tmz8tc%3D=0>
>  xmlns:s="library://ns.apache.org/royale/spark"
>  xmlns:mx="library://ns.apache.org/royale/mx"
>  width="100%" height="100%"
>  xmlns:jobmanager="com.likya.pinara.services.jobmanager.*"
>  xmlns:jobdetail="com.likya.pinara.comps.jobdetail.*"
> xmlns:grpmanager="com.likya.pinara.services.grpmanager.*" >
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
>
>  selectionChange="selectionChangeHandlerPinara(event)"
> dataProvider="{userListXmlCollection}" >
> 
> 
>  headerText="{resourceManager.getString('messages', 'uculUserId')}"
> width="{this.pinaraUserList.width * 0.2}">
> 
> 
> 
> 
> 
> 
>  headerText="{resourceManager.getString('messages', 'uculStatu')}"
> width="{this.pinaraUserList.width * 0.2}">
> 
> 
> 
> 
> 
> 
>  headerText="{resourceManager.getString('messages', 'uculUserName')}"
> width="{this.pinaraUserList.width * 0.25}">
> 
> 
> 
> 
> 
> 
>  headerText="{resourceManager.getString('messages', 'uculRoleInfo')}"
> width="{this.pinaraUserList.width * 0.29}">
>     
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 18.10.2018 22:46 tarihinde Alex Harui yazdı:
>
> Hi Serkan,
>
>
>
> The version of UserListGrid.mxml in your GitHub repo still is using the
> old adobe.com XML Namespaces.
>
>
>
> -Alex
>
>
>
> *From: *Serkan Taş 
> 
> *Reply-To: *"us...@royale.apache.org" 
>  
> *Date: *Thursday, October 18, 2018 at 12:35 PM
> *To: *"us...@royale.apache.org" 
>  
> *Subject: *Re: Work on Emulation
>
>
>
> Hi Alex,
>
> Before asking you i tried it and failed. I tired after your mail again
> thinking that i missed something but getting the same error :
>
> github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\UserListGrid.mxml(56):
> col: 4 Error: This tag could not be resolved to an ActionScript class. It
> will be ignored.
>
> 
>^
>
> And the manifest :
>
>  lookupOnly="true"/>
>
>
> May be i am missing something.
>
> Thanks
> Serkan
>
> 18.10.2018 19:36 tarihinde Alex Harui yazdı:
>
> Hi Serkan,
>
>
>
> You should add HTTPService and ArrayList to spark-royale-manifest with the
> “lookup=true” o

RE: Work on Emulation

2018-10-19 Thread Pushmina Kazi
Hi,

I have an issue:

I am compiling my library project 

There is no error but still build failed

Why?

 

Thanks,

-Pashmina kazi

 

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Friday, October 19, 2018 5:44 AM
To: us...@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Serkan,

 

Try s:ArrayCollection to see if that works.

Try removing s:ArrayCollection from the manifest and see if you then get the 
same error you are getting for ArrayList.  Maybe there is some issue with which 
SWC you are actually compiling against.  Maybe the one you updated isn’t in the 
library-path.  Also make sure you update both MXRoyale.swc and MXRoyaleJS.swc.

 

HTH,

-Alex

 

From: Serkan Taş 
Reply-To: "us...@royale.apache.org" 
Date: Thursday, October 18, 2018 at 12:49 PM
To: "us...@royale.apache.org" 
Subject: Re: Work on Emulation

 

Yes, i did not commit to github for a long time. Nobody uses rather than me :)

Here is the local one :

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ccaafd21a8ffc4c25aea408d63532cff6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754889739732361=OZm2sfWOqwyR6aaEsnsbeHJr76hmrk7XJ%2BJN2tmz8tc%3D=0>
 "http://ns.adobe.com/mxml/2009; 
 xmlns:s="library://ns.apache.org/royale/spark" 
 xmlns:mx="library://ns.apache.org/royale/mx" 
 width="100%" height="100%" 
 xmlns:jobmanager="com.likya.pinara.services.jobmanager.*" 
 xmlns:jobdetail="com.likya.pinara.comps.jobdetail.*" 
xmlns:grpmanager="com.likya.pinara.services.grpmanager.*" >











 



































18.10.2018 22:46 tarihinde Alex Harui yazdı:

Hi Serkan,

 

The version of UserListGrid.mxml in your GitHub repo still is using the old 
adobe.com XML Namespaces.

 

-Alex

 

From: Serkan Taş  <mailto:serkan@likyateknoloji.com> 

Reply-To:  <mailto:us...@royale.apache.org> "us...@royale.apache.org"  
<mailto:us...@royale.apache.org> 
Date: Thursday, October 18, 2018 at 12:35 PM
To:  <mailto:us...@royale.apache.org> "us...@royale.apache.org"  
<mailto:us...@royale.apache.org> 
Subject: Re: Work on Emulation

 

Hi Alex,

Before asking you i tried it and failed. I tired after your mail again thinking 
that i missed something but getting the same error :

github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\UserListGrid.mxml(56):
 col: 4 Error: This tag could not be resolved to an ActionScript class. It will 
be ignored.


   ^
  
And the manifest : 




May be i am missing something.

Thanks
Serkan

18.10.2018 19:36 tarihinde Alex Harui yazdı:

Hi Serkan,

 

You should add HTTPService and ArrayList to spark-royale-manifest with the 
“lookup=true” option.  See how ArrayCollection is in there for an example.

 

HTH,

-Alex

 

From: Serkan Taş  <mailto:serkan@likyateknoloji.com> 

Reply-To:  <mailto:us...@royale.apache.org> "us...@royale.apache.org"  
<mailto:us...@royale.apache.org> 
Date: Thursday, October 18, 2018 at 6:49 AM
To:  <mailto:us...@royale.apache.org> "us...@royale.apache.org"  
<mailto:us...@royale.apache.org> 
Subject: Re: Work on Emulation

 

Hi Alex,

After emulating HttpService class i am getting an error :

github\pinaraui-royale\PinaraUI\src\com\likya\pinara\comps\FileViewPopup.mxml(241):
 col: 3 Error: This tag is unexpected. It will be ignored.







Also having similar error for ArrayList : 

github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\UserListGrid.mxml(56):
 col: 4 Error: This tag could not be resolved to an ActionScript class. It will 
be ignored.


^

How can i fix this errors ?

Thanks,
Serkan

16.10.2018 23:45 tarihinde Serkan Taş yazdı:

Hi Alex,

It is the backbone of the application :)

I will go with migrating HTTPService later this week.

Thanks,
Serkan

16.10.2018 23:38 tarihinde Alex Harui yazdı:

Hi Serkan,

 

Well, if your use of HTTPService is sophisticated enough that you need 
Operations, then it might be time to try to migrate the origin

Re: Work on Emulation

2018-10-04 Thread Alex Harui
Hi Pashmina,

I searched through the code for verticalAxis.  I saw one one UIComponent.  It 
should probably not be there.  Where is the one you are using?  Sounds like its 
type-annotation is not correct.

Regarding IVisualElement, try having IVisualElement extend IChild.

HTH,
-Alex

From: Pushmina Kazi 
Reply-To: "us...@royale.apache.org" 
Date: Wednesday, October 3, 2018 at 11:03 PM
To: "us...@royale.apache.org" , 
"dev@royale.apache.org" 
Subject: RE: Work on Emulation

Hi,
I am using CategoryAxis





Error occurred:
D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\com\shm\reports\view\Common\shmChartComponent.mxml(305):
col: 5 Error: In initializer for 'mx:verticalAxis', type mx.charts.CategoryAxis 
is not assignable to target type 'mx.charts.chartClasses.

I am getting Error on _ComponentObj
this.addElement( _ComponentObj);

Error occurred:
D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\com\shm\reports\view\Common\shmCrieteriaSystem.mxml(62):
col: 23 Error: Implicit coercion of a value of type IVisualElement to an 
unrelated type IChild.

Thanks
-pashmina kazi
From: Serkan Taş [mailto:serkan@likyateknoloji.com]
Sent: Thursday, October 04, 2018 12:58 AM
To: us...@royale.apache.org
Subject: Re: Work on Emulation


Ok Thanks :))
3.10.2018 22:55 tarihinde Piotr Zarzycki yazdı:
Yeah but you are on a good way with all of that :)

śr., 3 paź 2018 o 21:54 Serkan Taş 
mailto:serkan@likyateknoloji.com>> 
napisał(a):

Thanks Piotr,

But i need to remind that only DateUtils.as class included for now :)

Serkan.


3.10.2018 22:49 tarihinde Piotr Zarzycki yazdı:
Hi Serkan,

Congrats! Happy that you build library! :)

Piotr

śr., 3 paź 2018 o 21:47 Serkan Taş 
mailto:serkan@likyateknoloji.com>> 
napisał(a):

Hi Alex,
·  as3corelib.swc is ok with just warnings and is around 28Kb in size, 
solved !

This is what i added to build of as3corelib:

   set 
swflib=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.4-SNAPSHOT-swf.swc
   set 
jslib=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.4-SNAPSHOT-js.swc
   -external-library-path+=%swflib% 
-js-external-library-path+=%jslib%

Note : I need to add same path definitions to the project build also !
· Exactly you are right, i found that some namespace are missed. Sorry, 
eclipse search and replace missuse by me :)
· Embedding: any thing i can do ?
· "Other errors are due to using flash APIs like URLLoader.  Royale has 
a URLLoader you can use instead." On my list!
· nightly build : it is ok, I am working on !
· "Regarding the toUpper, if you know the fix, you can create a 
PullRequest for it.  Otherwise, please file a Github Issue."

 After searching the codebase, i found that 
org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter is 
using enum DatePropertiesGetters and in this class toUpper is used 3 times. May 
be it can be changed to toUpperCase(Locale.ENGLISH)

   I changed this class in my local path :  
apache-royale-0.9.4-bin-js-swf\royale-compiler\compiler-jx and compiled with 
maven and finished iwth ssuccess. But i am not sure how to test new compiler :)

Thanks

Serkan...
3.10.2018 17:16 tarihinde 
serkan@likyateknoloji.com<mailto:serkan@likyateknoloji.com> yazdı:
Hi Alex,

Here are my comments inline...

Alinti Alex Harui <mailto:aha...@adobe.com>



Hi Serkan,

I would advise against using -include-libraries.  There is no need to copy 
MXRoyale into AS3CoreLib and it would make AS3CoreLib very big and create a 
maintenance issue as the code in MXRoyale changes.

I believe you are getting lots of warnings building as3corelib because 
MXRoyale-0.9.4-SNAPSHOT.swc should be on the -external-library-path and 
MXRoyale-0.9.4-SNAPSHOT-js.swc should on the -js-external-library-path.  IOW, 
the Maven SWC with the “-js” in the name is for JS compilation, not SWF 
compilation.

Ok i am going to try it. Done it, it




In the application compile, it seems like the compiler can’t find the s:Group 
in some of the files, but assuming you use Group in other files, maybe the 
issue is that the xml namespace for “s” is mis-typed or didn’t get updated?  Or 
is Group really not working in any file?

I am going to check it.




I see a bunch of errors related to using embedded assets.  I think I already 
mentioned that Royale doesn’t yet support embedding.

Is it possbile for me to emulate it or need more expertise ?




Other errors are due to not all Spark classes being emulated yet.

Ok.




Other errors are due to using flash APIs like URLLoader.  Royale has a 
URLLoader you

RE: Work on Emulation

2018-10-04 Thread Pushmina Kazi
Hi,

I am using CategoryAxis 

 







 

Error occurred:

D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\com\shm\reports\view\Common\shmChartComponent.mxml(305):

col: 5 Error: In initializer for 'mx:verticalAxis', type mx.charts.CategoryAxis 
is not assignable to target type 'mx.charts.chartClasses.

 

I am getting Error on _ComponentObj

this.addElement( _ComponentObj);

 

Error occurred:

D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\com\shm\reports\view\Common\shmCrieteriaSystem.mxml(62):
 

col: 23 Error: Implicit coercion of a value of type IVisualElement to an 
unrelated type IChild.

 

Thanks

-pashmina kazi

From: Serkan Taş [mailto:serkan@likyateknoloji.com] 
Sent: Thursday, October 04, 2018 12:58 AM
To: us...@royale.apache.org
Subject: Re: Work on Emulation

 

Ok Thanks :))

3.10.2018 22:55 tarihinde Piotr Zarzycki yazdı:

Yeah but you are on a good way with all of that :)

 

śr., 3 paź 2018 o 21:54 Serkan Taş  napisał(a):

Thanks Piotr,

But i need to remind that only DateUtils.as class included for now :)

Serkan.

 

3.10.2018 22:49 tarihinde Piotr Zarzycki yazdı:

Hi Serkan, 

 

Congrats! Happy that you build library! :)

 

Piotr

 

śr., 3 paź 2018 o 21:47 Serkan Taş  napisał(a):

Hi Alex,

*as3corelib.swc is ok with just warnings and is around 28Kb in size, 
solved !

This is what i added to build of as3corelib: 

   set 
swflib=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.4-SNAPSHOT-swf.swc
   set 
jslib=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.4-SNAPSHOT-js.swc
   -external-library-path+=%swflib% 
-js-external-library-path+=%jslib%

Note : I need to add same path definitions to the project build also !

*   Exactly you are right, i found that some namespace are missed. Sorry, 
eclipse search and replace missuse by me :)
*   Embedding: any thing i can do ?
*   "Other errors are due to using flash APIs like URLLoader.  Royale has a 
URLLoader you can use instead." On my list!
*   nightly build : it is ok, I am working on !
*   "Regarding the toUpper, if you know the fix, you can create a 
PullRequest for it.  Otherwise, please file a Github Issue." 

 After searching the codebase, i found that 
org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter is 
using enum DatePropertiesGetters and in this class toUpper is used 3 times. May 
be it can be changed to toUpperCase(Locale.ENGLISH)

   I changed this class in my local path :  
apache-royale-0.9.4-bin-js-swf\royale-compiler\compiler-jx and compiled with 
maven and finished iwth ssuccess. But i am not sure how to test new compiler :)

Thanks

Serkan...

3.10.2018 17:16 tarihinde serkan@likyateknoloji.com yazdı:

Hi Alex, 

Here are my comments inline... 

Alinti Alex Harui  <mailto:aha...@adobe.com>  




Hi Serkan, 

I would advise against using -include-libraries.  There is no need to copy 
MXRoyale into AS3CoreLib and it would make AS3CoreLib very big and create a 
maintenance issue as the code in MXRoyale changes. 

I believe you are getting lots of warnings building as3corelib because 
MXRoyale-0.9.4-SNAPSHOT.swc should be on the -external-library-path and 
MXRoyale-0.9.4-SNAPSHOT-js.swc should on the -js-external-library-path.  IOW, 
the Maven SWC with the “-js” in the name is for JS compilation, not SWF 
compilation. 


Ok i am going to try it. Done it, it 





In the application compile, it seems like the compiler can’t find the s:Group 
in some of the files, but assuming you use Group in other files, maybe the 
issue is that the xml namespace for “s” is mis-typed or didn’t get updated?  Or 
is Group really not working in any file? 


I am going to check it. 





I see a bunch of errors related to using embedded assets.  I think I already 
mentioned that Royale doesn’t yet support embedding. 


Is it possbile for me to emulate it or need more expertise ? 





Other errors are due to not all Spark classes being emulated yet. 


Ok. 





Other errors are due to using flash APIs like URLLoader.  Royale has a 
URLLoader you can use instead. 


Ok. 





You might want to grab a nightly build in about an hour or so.  I added a 
resourceManager emulation that should eliminate more of the errors and make it 
easier to see what is left. 


Ok. 




Regarding the toUpper, if you know the fix, you can create a PullRequest for 
it.  Otherwise, please file a Github Issue. 


If you give me the localtion of code genereatore of compiler i may submit 
patch. 





Thanks, 
-Alex 


Thanks 
Serkan... 




From: Serkan Taş  <mailto:serkan@likyateknoloji.com> 
 
Reply-To:  <mailto:us...@royale.a

RE: WORK ON EMULATION

2018-09-18 Thread Alina Kazi
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.li...@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  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:aha...@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"  wrote:
> 
>Hi,
>I am using 
>Error:  " Internal problem during semantic analysis of MXML"
> 
>Thanks in Advance
> Pashmina kazi
> 
>-Original Message-
>From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
>Sent: Tuesday, August 14, 2018 9:57 AM
>To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3Dreserved=0
> 
> 
> 
>
>From: Alex Harui 
>Sent: Monday, August 13, 2018 6:48:50 PM
>To: us...@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 

Re: WORK ON EMULATION

2018-09-17 Thread Harbs
What is the output when you build?

> On Sep 17, 2018, at 1:17 PM, Alina Kazi  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:aha...@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"  wrote:
> 
>Hi,
>I am using 
>Error:  " Internal problem during semantic analysis of MXML"
> 
>Thanks in Advance
> Pashmina kazi
> 
>-Original Message-
>From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
>Sent: Tuesday, August 14, 2018 9:57 AM
>To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3Dreserved=0
> 
> 
> 
>
>From: Alex Harui 
>Sent: Monday, August 13, 2018 6:48:50 PM
>To: us...@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"  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 ha

RE: WORK ON EMULATION

2018-09-17 Thread Pushmina Kazi
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.k...@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:aha...@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"  wrote:

Hi,
I am using 
    Error:  " Internal problem during semantic analysis of MXML"

Thanks in Advance
 Pashmina kazi

-Original Message-
From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3Dreserved=0




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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

RE: WORK ON EMULATION

2018-09-17 Thread Alina Kazi
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:aha...@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"  wrote:

Hi,
I am using 
Error:  " Internal problem during semantic analysis of MXML"

Thanks in Advance
 Pashmina kazi

-Original Message-
From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3Dreserved=0




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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.contr

Re: WORK ON EMULATION

2018-08-31 Thread Alex Harui
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"  wrote:

Hi,
I am using 
Error:  " Internal problem during semantic analysis of MXML"

Thanks in Advance
 Pashmina kazi

-Original Message-
From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Cc25ed7ad59474d06672f08d60efd52d2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636712878546748239sdata=SqbyBAOpdYGHy1FOAK%2BRI5iIwfH%2BsKzzT3B4%2BwZ1nkY%3Dreserved=0




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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

2018-08-31 Thread Alex Harui
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"  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.k...@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 
Error:  " Internal problem during semantic analysis of MXML"

Thanks in Advance
 Pashmina kazi

-Original Message-
From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Cbdcbb4bd89014429c86408d60f2488e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636713046927006773sdata=PDziNgJc%2F4RH6N6ypoBliUYA3v2MOkPevWdG7NYM%2F8Y%3Dreserved=0




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
    To: dev@royale.apache.org; us...@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"  wrot

RE: WORK ON EMULATION

2018-08-31 Thread Pushmina Kazi
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.k...@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 
Error:  " Internal problem during semantic analysis of MXML"

Thanks in Advance
 Pashmina kazi

-Original Message-
From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
    To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Ccc5c1dd1dd1f4c65f04908d60d9f6e2f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636711375728607957sdata=1wIBNayZSctR69trQG9YuhwFt0n6OhOu1w0x%2Flhn6tA%3Dreserved=0




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
    To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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

2018-08-30 Thread Pushmina Kazi
Hi,
I am using 
Error:  " Internal problem during semantic analysis of MXML"

Thanks in Advance
 Pashmina kazi

-Original Message-
From: Alex Harui [mailto:aha...@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"  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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Ccc5c1dd1dd1f4c65f04908d60d9f6e2f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636711375728607957sdata=1wIBNayZSctR69trQG9YuhwFt0n6OhOu1w0x%2Flhn6tA%3Dreserved=0




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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

2018-08-29 Thread Alex Harui
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"  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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
To: us...@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.mxmldata=02%7C01%7Caharui%40adobe.com%7Ccc5c1dd1dd1f4c65f04908d60d9f6e2f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636711375728607957sdata=1wIBNayZSctR69trQG9YuhwFt0n6OhOu1w0x%2Flhn6tA%3Dreserved=0




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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

2018-08-29 Thread Pushmina Kazi


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:yishayj...@hotmail.com] 
Sent: Tuesday, August 14, 2018 9:57 AM
To: us...@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 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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

2018-08-13 Thread Yishay Weiss
There’s an example here [1]



[1] https://github.com/yishayw/Examples/blob/FileProxy/Examples.mxml




From: Alex Harui 
Sent: Monday, August 13, 2018 6:48:50 PM
To: us...@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"  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:aha...@adobe.com.INVALID]
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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

2018-08-13 Thread Alex Harui
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"  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:aha...@adobe.com.INVALID] 
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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

2018-08-13 Thread Alina Kazi
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:aha...@adobe.com.INVALID] 
Sent: Friday, August 10, 2018 8:46 PM
To: dev@royale.apache.org; us...@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"  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






WORK ON EMULATION

2018-08-10 Thread Alina Kazi
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

2018-04-06 Thread Alina Kazi
 

Please Review : 

https://github.com/apache/royale-asjs/pull/145

https://github.com/apache/royale-asjs/pull/149

 

Thanks,

Alina Kazi

 

From: Alina Kazi [mailto:alina.k...@d-bz.com] 
Sent: Friday, April 06, 2018 2:33 PM
To: us...@royale.apache.org
Subject: RE: Work on Emulation

 

Thanks Piotr.

 

From: Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com] 
Sent: Friday, April 06, 2018 12:32 PM
To: us...@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

One suggestion to the reporting in [1] - Could you please bold "in progress" 
status ? I just did for you now, but in the next which you will work please do 
so. It's much better visible. 

 

[1] https://github.com/apache/royale-asjs/issues/136

 

Thanks,

Piotr

 

2018-04-06 9:28 GMT+02:00 Alina Kazi <alina.k...@d-bz.com>:

Currently I am working on mx.collections.Sort and mx.collections.SortField from 
list.
Dependencies Added :
mx.collections.errors.SortError , mx.collections.ISort and 
mx.collections.ISortField are emulated as these API's were used in 
mx.collections.Sort and mx.collections.SortField.

Dependencies Commented :
mx.resources.IResourceManager and mx.resources.ResourceManager
What are the alternative API's for
import flash.system.ApplicationDomain;
import flash.system.SecurityDomain;

Pull Request : https://github.com/apache/royale-asjs/pull/148

Thanks,
Alina Kazi

-Original Message-
From: Alina Kazi [mailto:alina.k...@d-bz.com]

Sent: Friday, April 06, 2018 10:57 AM
To: us...@royale.apache.org
Subject: RE: Work on Emulation

Sure, I will pick APIs from the List next time.

Thanks,
Alina Kazi

-Original Message-
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Wednesday, April 04, 2018 8:45 PM
To: us...@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

I am not seeing Tile in the list of APIs your application used.  We should only 
be working on classes used by your app.

Thanks,
-Alex

On 4/4/18, 8:03 AM, "Peter Ent" <p...@adobe.com> wrote:

>Hi Alina,
>
>The CloseEvent looks fine.
>
>In the others, the [IconFile] needs to be removed. If you have removed
>it I didn't see the deletion in the pull request.
>
>For Tile, I think that needs more work, unless I'm not reading the pull
>request correctly. You should remove most of the contents of this file.
>When we get to making Tile work, we have a Tile layout in Royale
>already and chances the MX Tile will be implemented using the Royale 
>TileLayout.
>But if not we can always go back and bring in code from the original
>and re-work it then.
>
>Thanks,
>Peter
>
>On 4/4/18, 6:15 AM, "Alina Kazi" <alina.k...@d-bz.com> wrote:
>
>>Branch->mxRoyaleTileandTileDirection
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
>>b.c
>>o
>>m%2Falinakazi%2Froyale-asjs%2Ftree%2FmxRoyaleTileandTileDirection
>>=02
>>%
>>7C01%7Cpent%40adobe.com%7C19e6271d08cd4b9abe1908d59a1502c5%7Cfa7b1b5a7
>>b34
>>4
>>38794aed2c178decee1%7C0%7C0%7C636584337418853728=ri9QIFg3k4H9Msm
>>Yy0
>>c
>>C48iy97u%2FZkSlAL0jPwlwoYE%3D=0
>>Pull Request
>>:https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
>>c
>>om%2Fapache%2Froyale-asjs%2Fpull%2F143=02%7C01%7Cpent%40adobe.com
>>%7C
>>1
>>9e6271d08cd4b9abe1908d59a1502c5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C
>>0
>>%7C636584337418853728=Q%2B%2FhMzYPx5Eklaicfgeo8p9S9EaAZfbMy6%2B0
>>UXc
>>v
>>b5s%3D=0
>>Tile.as
>>TileDirection.as
>>
>>Branch->MxRoyaleCloseEvent
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
>>b.c
>>o
>>m%2Falinakazi%2Froyale-asjs%2Ftree%2FMxRoyaleCloseEvent=02%7C01%7
>>Cpe
>>n
>>t%40adobe.com%7C19e6271d08cd4b9abe1908d59a1502c5%7Cfa7b1b5a7b34438794a
>>ed2
>>c
>>178decee1%7C0%7C0%7C636584337418853728=JZ4a9VfDppcJkfQr%2BKivd9w
>>GDk
>>U
>>cNHO7nDxJTXFAMus%3D=0
>>Pull Request
>>:https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
>>c
>>om%2Fapache%2Froyale-asjs%2Fpull%2F144=02%7C01%7Cpent%40adobe.com
>>%7C
>>1
>>9e6271d08cd4b9abe1908d59a1502c5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C
>>0
>>%7C636584337418853728=V%2FcBSzGeei7i0YNTIZoEnVKJbi18DtVLv%2BV%2F
>>2vY
>>7
>>HA4%3D=0
>>CloseEvent.as
>>
>>Branch->mxRoyaleScrollPolicynControlBar
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
>>b.c
>>o
>>m%2Falinakazi%2Froyale-asjs%2Ftree%2FmxRoyaleScrollPolicynControlBar
>>ata
>>=
>>02%7C01%7Cpent%40adobe.com%7C19e6271d08cd4b9abe1908d59a1502c5%7Cfa7b1b
>>5a7
>>b
>>34438794aed2c178decee1%