Re: 404 Error

2018-04-03 Thread John Barrett
Aloha Piotr,
I just downloaded VS Code with the AS 3/Flex extension I have heard some great 
things about this project on twitter so maybe worth trying. Also, I know all 
the dudes from the FDT team and have worked with them for years so maybe I can 
put something together and make a blog or something or do a write up and share 
it with the community. It’s just I have been working with the IDE since it came 
out. I think it was the first flash coding IDE, but not quite sure.
If anybody from the community would like to do a talk on Apache Royal I would 
love it, and if that could be this month I would be so stoked and would be a 
great birthday present for me too :)
Thanks so much for the quick response as I am sure that I will have many 
questions as I have always avoided javaScript so much, same thing with php I 
hate it so much, but don’t know why I have not looked at either language since 
the 90s who knows maybe they are good now??
Mahalo Johnny


On Tue, Apr 3, 2018 at 8:24 PM, Piotr Zarzycki  
wrote:
Hi Johnny,
Welcome in the Royale project! :) I will start answering from the last 
question. W have separate FlexJS project from Apache Flex project into new one 
and decided along with that separation change name to Apache Royale. In the 
other words it is still the same project. Of course it's been couple of month 
since then so we evolve a lot :)
Answering to your second question. Apache Royale Team is mostly volunteers, so 
is just There were no volunteer who could notify FDT team about changes, so 
they probably didn't adjust FDT to the Royale. - Maybe you can raise the ticket 
for them ? :)
You have also two IDE which officially support Royale - recommend you to try 
them! [1]
Do not hesitate ask more question. Looking forward to help you! :)
[1] http://royale.apache.org/ides/ [http://royale.apache.org/ides/]
Thanks, Piotr

2018-04-04 6:37 GMT+02:00 John Barrett < johnb...@hawaii.edu 
[johnb...@hawaii.edu] > :
Aloha,
Let me introduce myself. My name is John Barrett, but everybody calls me 
Johnny. You may know me from if you were a flash developer in Honolulu area 
during the late 1990s until now. I have also ran many of Adobe’s User Groups: - 
The Hawaii Flash User group - The Hawaii Animate User Group - Adobe AIR 
Developers Group
I have avoided javaScript like the plague! Been using ActionScript and 
ColdFusion only .js no way! However, ever the client I can talk into Flash no 
need as in less that 2 years there will be no plugin. However, I will also like 
coding once working everywhere. I have been watching royale and I am very 
impressed!
Would anybody associated with royale, or knows a lot about it.
On this page: https://cwiki.apache.org/ confluence/display/FLEX/Using+ 
FlexJS+with+FDT 
[https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+FDT]
I get a 404 error is there a set up page for using royale with FDT? Another 
question I have is royale what came after FlexJS, or is that another project?

Mahalo Johnny


--
Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki 
[https://www.patreon.com/piotrzarzycki]

Re: 404 Error

2018-04-03 Thread Piotr Zarzycki
Hi Johnny,

Welcome in the Royale project! :) I will start answering from the last
question. W have separate FlexJS project from Apache Flex project into new
one and decided along with that separation change name to Apache Royale. In
the other words it is still the same project. Of course it's been couple of
month since then so we evolve a lot :)

Answering to your second question. Apache Royale Team is mostly volunteers,
so is just There were no volunteer who could notify FDT team about changes,
so they probably didn't adjust FDT to the Royale. - Maybe you can raise the
ticket for them ? :)

You have also two IDE which officially support Royale - recommend you to
try them! [1]

Do not hesitate ask more question. Looking forward to help you! :)

[1] http://royale.apache.org/ides/

Thanks,
Piotr


2018-04-04 6:37 GMT+02:00 John Barrett :

> Aloha,
>
> Let me introduce myself. My name is John Barrett, but everybody calls me
> Johnny. You may know me from  if you were a flash developer in Honolulu
> area during the late 1990s until now. I have also ran many of Adobe’s User
> Groups:
> - The Hawaii Flash User group
> - The Hawaii Animate User Group
> - Adobe AIR Developers Group
>
> I have avoided javaScript like the plague! Been using ActionScript and
> ColdFusion only .js no way! However, ever the client I can talk into Flash
> no need as in less that 2 years there will be no plugin. However, I will
> also like coding once working everywhere. I have been watching royale and I
> am very impressed!
>
> Would anybody associated with royale, or knows a lot about it.
>
> *On this page:*
> https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+FDT
>
> I get a 404 error is there a set up page for using  royale  with FDT?
> Another question I have is  royale what came after FlexJS, or is that
> another project?
>
> Mahalo
> Johnny
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Work on Emulation

2018-04-03 Thread Alex Harui
Hi Alina,

Flex SDK events are not written in Java.  Everything is ActionScript.  Flash 
events are written in C and have an ActionScript API surface.  There is no 
UIEvent in Flex that I know of.  You are looking at the third party Batik 
library used for some CSS parsing in the compiler.

References to flash.events.Event in API surfaces like parameters and return 
types should be replaced by org.apache.flex.events.Event.
Flash.events.MouseEvent should be replaced by org.apache.flex.events.MouseEvent.
Flash.events.IEventDispatcher should be replaced by 
org.apache.flex.events.IEventDispatcher.
Flash.events.EventDispatcher should be replaced by 
org.apache.flex.events.EventDispatcher.

The internal implementation can still use flash.*.* if it is in COMPILE::SWF 
blocks.

HTH,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 3, 2018 at 11:14 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Hi Alex,

Flex-SDK Events like MouseEvent, UIEvent,TextEvent are written in Java.
flex-sdk\modules\thirdparty\batik\sources\org\w3c\dom\events
We can use them directly in Apache Royale as we were using them in Flex SDK 
,right?

-Alina Kazi

From: Alina Kazi [mailto:alina.k...@d-bz.com]
Sent: Wednesday, April 04, 2018 10:38 AM
To: users@royale.apache.org
Subject: RE: Work on Emulation

Thanks Peter

From: Peter Ent [mailto:p...@adobe.com]
Sent: Tuesday, April 03, 2018 10:24 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

I've merged your VRule and HRule changes. Thanks for making them!

—peter

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 3, 2018 at 8:22 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks Alex
Now I am working on: Tile and TileDirection
Both files are compiled successfully after changes
Pull Request : 
https://github.com/apache/royale-asjs/pull/143

Only a Warning in Tile.as
What I should do to remove that warning
[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\
mx\containers\Tile.as(277): col: 5 public var may not work in minified JS output
.  Use getter/setter instead.
 [java]
 [java] mx_internal var cellWidth:Number;

Thanks,
Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Tuesday, April 03, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

Congratulations!  I merged your pull request.  You have now contributed code to 
Apache Royale.

You should be able to use mx_internal now.  I pushed those changes earlier.

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule pull 
request.  Please make sure there are no warnings in the build.  I updated 
ListEvent and SliderEvent to suppress warnings.

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks alot Peter and Alex.
HRule and VRule Files are added to new Branch and Compiled Successfully
https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/frameworks/projects/MXRoyale/src/main/royale/mx/controls

In Panel :  I will also replace “mx_internal“  with "protected"
And comment-out all functions and/or variables that referencing something not 
yet ported.

Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

mx_internal methods may not need to be ported.  If they are not listed in the 
list of API s you used in your app, the next question is whether they are 
needed to emulate the functionali

Re: Work on Emulation

2018-04-03 Thread Alex Harui
Hi Alina,

Peter meant that the changing of mx_internal to protected was only
temporary.  mx_internal should be working for Royale so please use
mx_internal instead of protected.  Using protected may cause other things
to not work.

Thanks,
-Alex

From:  Alina Kazi 
Reply-To:  "users@royale.apache.org" 
Date:  Tuesday, April 3, 2018 at 10:36 PM
To:  "users@royale.apache.org" 
Subject:  RE: Work on Emulation


Thanks.
replaced mx_internal with protected for now.
And Tile and TileDirection are compiled Successfully without any warning.
 
Alina Kazi
 
 
From: Peter Ent [mailto:p...@adobe.com]

Sent: Tuesday, April 03, 2018 5:33 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation


 
I recommended changing mx_internal to protected as a stop-gap. I knew Alex
would be putting something out for MXRoyale.

 

Also: please update the Github issue with your progress. I've been trying
to be consistent using it as more people working on the same items will be
confusing.

 

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


 

Thanks.

Peter

 

From:
Piotr Zarzycki 
Reply-To: "users@royale.apache.org" 
Date: Tuesday, April 3, 2018 at 8:26 AM
To: "users@royale.apache.org" 
Subject: Re: Work on Emulation

 

Hi Alina,

 

If it is mx_internal I see suggestion to change it to some
protected/private ? I'm not sure about that, but the other way is to got
with suggestion - create getter/setter.
 Alex also in his suppress warnings in that commits [1]

 

[1] 
https://github.com/apache/royale-asjs/commit/3cfa84f95635df16e5f6b8214b483a
e4c68a902c 


 

Thanks,

Piotr


 
2018-04-03 14:22 GMT+02:00 Alina Kazi :
Thanks Alex
Now I am working on: Tile and TileDirection
Both files are compiled successfully after changes
Pull Request :

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

 
Only a Warning in Tile.as

What I should do to remove that warning
[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\
mx\containers\Tile.as(277): col: 5 public var may not work in minified JS
output
.  Use getter/setter instead.
 [java]
 [java] mx_internal var cellWidth:Number;
 
Thanks,
Alina Kazi
From: Alex
 Harui [mailto:aha...@adobe.com]

Sent: Tuesday, April 03, 2018 12:27 PM

To: users@royale.apache.org
Subject: Re: Work on Emulation




 
Hi Alina,

 

Congratulations!  I merged your pull request.  You have now contributed
code to Apache Royale.

 

You should be able to use mx_internal now.  I pushed those changes earlier.

 

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule
pull request.  Please make
 sure there are no warnings in the build.  I updated ListEvent and
SliderEvent to suppress warnings.

 

Thanks,

-Alex

 

From:
Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

Thanks alot Peter and Alex.
HRule and VRule Files are added to new Branch and Compiled Successfully
https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/framewor
ks/projects/MXRoyale/src/main/royale/mx/controls

 
In Panel :  I will also replace “mx_internal“  with "protected"

And comment-out all functions and/or variables that referencing something
not yet ported.
 
Alina Kazi
From: Alex
 Harui [mailto:aha...@adobe.com]

Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation


 
Hi Alina,

 

mx_internal methods may not need to be ported.  If they are not listed in
the list of API s you used
 in your app, the next question is whether they are needed to emulate the
functi

RE: Work on Emulation

2018-04-03 Thread Alina Kazi
Hi Alex, 

 

Flex-SDK Events like MouseEvent, UIEvent, TextEvent are written in Java.

flex-sdk\modules\thirdparty\batik\sources\org\w3c\dom\events

We can use them directly in Apache Royale as we were using them in Flex SDK
,right?

 

-Alina Kazi

 

From: Alina Kazi [mailto:alina.k...@d-bz.com] 
Sent: Wednesday, April 04, 2018 10:38 AM
To: users@royale.apache.org
Subject: RE: Work on Emulation

 

Thanks Peter

 

From: Peter Ent [mailto:p...@adobe.com] 
Sent: Tuesday, April 03, 2018 10:24 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

I've merged your VRule and HRule changes. Thanks for making them!

 

-peter

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Tuesday, April 3, 2018 at 8:22 AM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

Thanks Alex

Now I am working on: Tile and TileDirection

Both files are compiled successfully after changes

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

 

Only a Warning in Tile.as 

What I should do to remove that warning

[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\

mx\containers\Tile.as(277): col: 5 public var may not work in minified JS
output

.  Use getter/setter instead.

 [java]

 [java] mx_internal var cellWidth:Number;

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, April 03, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

Congratulations!  I merged your pull request.  You have now contributed code
to Apache Royale.

 

You should be able to use mx_internal now.  I pushed those changes earlier.

 

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule
pull request.  Please make sure there are no warnings in the build.  I
updated ListEvent and SliderEvent to suppress warnings.

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

Thanks alot Peter and Alex.

HRule and VRule Files are added to new Branch and Compiled Successfully

https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/framework
s/projects/MXRoyale/src/main/royale/mx/controls
 

 

In Panel :  I will also replace "mx_internal"  with "protected" 

And comment-out all functions and/or variables that referencing something
not yet ported.

 

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

mx_internal methods may not need to be ported.  If they are not listed in
the list of API s you used in your app, the next question is whether they
are needed to emulate the functionality of the component that you do use.
In many cases they are not needed.

 

I am working on getting mx_internal working on the JS side.  Even though
mx_internal APIs are not supported by Flex, I don't doubt that other
namespaces are used somewhere so we should try to get it to work.  It has
been working in simple test cases so not sure yet why it isn't working in
the emulation components.

 

Thanks,

-Alex

 

From: Peter Ent 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org" 
Subject: Re: Work on Emulation

 

Hi Alina,

 

Sorry for the delayed response.

 

First, try to port over something easier like VRule and HRule as a first
step since these are less complex.

 

As for mx_internal - I have been changing these to "protected".

 

Once you do that you'll find that you will also need IUITextField. I haven't
done that but I just took a look at it. You can do a couple of things:

 

In Panel (and any where else), comment-out any function or variable that
references something not yet ported. We are trying to pass compilation, so
that would be OK at this stage.

 

If you feel you need to bring something else over, then you have to go
through the same process of course. Since you can wind up following class
and interface down a long chain, I would just comment-out things complex.
Sometimes I am left with "implements IUIComponent" and the rest of the
interfaces listed in a c

RE: Work on Emulation

2018-04-03 Thread Alina Kazi
Thanks Peter

 

From: Peter Ent [mailto:p...@adobe.com] 
Sent: Tuesday, April 03, 2018 10:24 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

I've merged your VRule and HRule changes. Thanks for making them!

 

-peter

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Tuesday, April 3, 2018 at 8:22 AM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

Thanks Alex

Now I am working on: Tile and TileDirection

Both files are compiled successfully after changes

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

 

Only a Warning in Tile.as 

What I should do to remove that warning

[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\

mx\containers\Tile.as(277): col: 5 public var may not work in minified JS
output

.  Use getter/setter instead.

 [java]

 [java] mx_internal var cellWidth:Number;

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, April 03, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

Congratulations!  I merged your pull request.  You have now contributed code
to Apache Royale.

 

You should be able to use mx_internal now.  I pushed those changes earlier.

 

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule
pull request.  Please make sure there are no warnings in the build.  I
updated ListEvent and SliderEvent to suppress warnings.

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

Thanks alot Peter and Alex.

HRule and VRule Files are added to new Branch and Compiled Successfully

https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/framework
s/projects/MXRoyale/src/main/royale/mx/controls
 

 

In Panel :  I will also replace "mx_internal"  with "protected" 

And comment-out all functions and/or variables that referencing something
not yet ported.

 

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

mx_internal methods may not need to be ported.  If they are not listed in
the list of API s you used in your app, the next question is whether they
are needed to emulate the functionality of the component that you do use.
In many cases they are not needed.

 

I am working on getting mx_internal working on the JS side.  Even though
mx_internal APIs are not supported by Flex, I don't doubt that other
namespaces are used somewhere so we should try to get it to work.  It has
been working in simple test cases so not sure yet why it isn't working in
the emulation components.

 

Thanks,

-Alex

 

From: Peter Ent 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org" 
Subject: Re: Work on Emulation

 

Hi Alina,

 

Sorry for the delayed response.

 

First, try to port over something easier like VRule and HRule as a first
step since these are less complex.

 

As for mx_internal - I have been changing these to "protected".

 

Once you do that you'll find that you will also need IUITextField. I haven't
done that but I just took a look at it. You can do a couple of things:

 

In Panel (and any where else), comment-out any function or variable that
references something not yet ported. We are trying to pass compilation, so
that would be OK at this stage.

 

If you feel you need to bring something else over, then you have to go
through the same process of course. Since you can wind up following class
and interface down a long chain, I would just comment-out things complex.
Sometimes I am left with "implements IUIComponent" and the rest of the
interfaces listed in a class are put into comments.

 

I hope that helps.

-peter

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 7:43 AM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

mx.containers.Panel 

Panel.as file contains many variables and methods that are using mx_internal
e.g. Variable

  mx_internal var _showCloseButton:Boolean = false;

 

Method

  mx

RE: Work on Emulation

2018-04-03 Thread Alina Kazi
Thanks.

replaced mx_internal with protected for now.

And Tile and TileDirection are compiled Successfully without any warning.

 

Alina Kazi

 

 

From: Peter Ent [mailto:p...@adobe.com] 
Sent: Tuesday, April 03, 2018 5:33 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

I recommended changing mx_internal to protected as a stop-gap. I knew Alex
would be putting something out for MXRoyale.

 

Also: please update the Github issue with your progress. I've been trying to
be consistent using it as more people working on the same items will be
confusing.

 

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

 

Thanks.

Peter

 

From: Piotr Zarzycki 
Reply-To: "users@royale.apache.org" 
Date: Tuesday, April 3, 2018 at 8:26 AM
To: "users@royale.apache.org" 
Subject: Re: Work on Emulation

 

Hi Alina, 

 

If it is mx_internal I see suggestion to change it to some protected/private
? I'm not sure about that, but the other way is to got with suggestion -
create getter/setter. Alex also in his suppress warnings in that commits [1]

 

[1]
https://github.com/apache/royale-asjs/commit/3cfa84f95635df16e5f6b8214b483ae
4c68a902c
 

 

Thanks,

Piotr

 

2018-04-03 14:22 GMT+02:00 Alina Kazi :

Thanks Alex

Now I am working on: Tile and TileDirection

Both files are compiled successfully after changes

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

 

Only a Warning in Tile.as 

What I should do to remove that warning

[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\

mx\containers\Tile.as(277): col: 5 public var may not work in minified JS
output

.  Use getter/setter instead.

 [java]

 [java] mx_internal var cellWidth:Number;

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, April 03, 2018 12:27 PM


To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

Congratulations!  I merged your pull request.  You have now contributed code
to Apache Royale.

 

You should be able to use mx_internal now.  I pushed those changes earlier.

 

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule
pull request.  Please make sure there are no warnings in the build.  I
updated ListEvent and SliderEvent to suppress warnings.

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

Thanks alot Peter and Alex.

HRule and VRule Files are added to new Branch and Compiled Successfully

https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/framework
s/projects/MXRoyale/src/main/royale/mx/controls
 

 

In Panel :  I will also replace "mx_internal"  with "protected" 

And comment-out all functions and/or variables that referencing something
not yet ported.

 

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

mx_internal methods may not need to be ported.  If they are not listed in
the list of API s you used in your app, the next question is whether they
are needed to emulate the functionality of the component that you do use.
In many cases they are not needed.

 

I am working on getting mx_internal working on the JS side.  Even though
mx_internal APIs are not supported by Flex, I don't doubt that other
namespaces are used somewhere so we should try to get it to work.  It has
been working in simple test cases so not sure yet why it isn't working in
the emulation components.

 

Thanks,

-Alex

 

From: Peter Ent 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org" 
Subject: Re: Work on Emulation

 

Hi Alina,

 

Sorry for the delayed response.

 

First, try to port over something easier like VRule and HRule as a first
step

Re: How to Set Path in UIModuleLoader

2018-04-03 Thread Alex Harui
Hi Doug,

Right now there is some output manipulation going on in the js-debug build
because of the way Google Closure Library fixes up dependencies.  Maybe
the Royale compiler should somehow take care of that, but I'm not sure.
I'm also not sure Moonshine has gotten around to automating that file
manipulation for you, so, while you can compile each project with
Moonshine, to work with the debuggable output you will have to manipulate
the output in some way.  To run the production version, you should be able
to copy the .js file into the right place.

HTH,
-Alex

On 4/3/18, 9:28 PM, "doug777"  wrote:

>Hi Alex,
>
>I built it with Moonshine. I don't doubt that it works with Ant, but I
>don't
>want to have to build my whole project with Ant.
>
>Shall I report the problem to the Moonshine guys or is it something
>outside
>Moonshine's control?
>
>Doug
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Ce603e
>1ca0b3e4a5485b208d599e4972f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36584129457555936&sdata=Vi5iI%2FDp4WO8n7Tax4mQbjw0TpcAJbEVZYY9gnzbvzE%3D&r
>eserved=0



404 Error

2018-04-03 Thread John Barrett
Aloha,
Let me introduce myself. My name is John Barrett, but everybody calls me 
Johnny. You may know me from if you were a flash developer in Honolulu area 
during the late 1990s until now. I have also ran many of Adobe’s User Groups: - 
The Hawaii Flash User group - The Hawaii Animate User Group - Adobe AIR 
Developers Group
I have avoided javaScript like the plague! Been using ActionScript and 
ColdFusion only .js no way! However, ever the client I can talk into Flash no 
need as in less that 2 years there will be no plugin. However, I will also like 
coding once working everywhere. I have been watching royale and I am very 
impressed!
Would anybody associated with royale, or knows a lot about it.
On this page: 
https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+FDT
I get a 404 error is there a set up page for using royale with FDT? Another 
question I have is royale what came after FlexJS, or is that another project?

Mahalo Johnny

Re: How to Set Path in UIModuleLoader

2018-04-03 Thread doug777
Hi Alex,

I built it with Moonshine. I don't doubt that it works with Ant, but I don't
want to have to build my whole project with Ant.

Shall I report the problem to the Moonshine guys or is it something outside
Moonshine's control?

Doug



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: How to Set Path in UIModuleLoader

2018-04-03 Thread Alex Harui
Hi Doug,

I build the Module Example using Ant on Mac and Win and it worked fine.
There are two sibling projects in ModuleExample.  The Ant script builds
the main app first then the module, adjusts the module files and copies
them to main app's bin/js-debug/modules and bin/js-release/modules folder.
 The Ant script won't put output in the ModuleExample folder.  It is in
ModuleExample/MainApp/bin

Did you build it with Ant?  If not, try that.  If you did, then maybe zip
up the output and put it in an GitHub issue.

HTH,
-Alex

On 4/3/18, 5:01 PM, "doug777"  wrote:

>Thanks very much, Alex.
>
>No rush though - it's a long public holiday here through to the weekend.
>
>Doug
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cb4097
>24315d24f26c7f008d599bf2c28%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36583968753896659&sdata=nHYssPq%2F57EUhvHX%2BDCTVX0JqZAZsbm0auZjIjeudq4%3D
>&reserved=0



Re: How to Set Path in UIModuleLoader

2018-04-03 Thread doug777
Thanks very much, Alex.

No rush though - it's a long public holiday here through to the weekend.

Doug



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: Work on Emulation

2018-04-03 Thread Peter Ent
I forgot to mention that I had to remove the IDE image in the code. Please do 
one last compile before building your pull request.

Thanks.
—peter

From: Peter Ent mailto:p...@adobe.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 3, 2018 at 1:24 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Re: Work on Emulation

Hi Alina,

I've merged your VRule and HRule changes. Thanks for making them!

—peter

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 3, 2018 at 8:22 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks Alex
Now I am working on: Tile and TileDirection
Both files are compiled successfully after changes
Pull Request : 
https://github.com/apache/royale-asjs/pull/143

Only a Warning in Tile.as
What I should do to remove that warning
[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\
mx\containers\Tile.as(277): col: 5 public var may not work in minified JS output
.  Use getter/setter instead.
 [java]
 [java] mx_internal var cellWidth:Number;

Thanks,
Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Tuesday, April 03, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

Congratulations!  I merged your pull request.  You have now contributed code to 
Apache Royale.

You should be able to use mx_internal now.  I pushed those changes earlier.

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule pull 
request.  Please make sure there are no warnings in the build.  I updated 
ListEvent and SliderEvent to suppress warnings.

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks alot Peter and Alex.
HRule and VRule Files are added to new Branch and Compiled Successfully
https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/frameworks/projects/MXRoyale/src/main/royale/mx/controls

In Panel :  I will also replace “mx_internal“  with "protected"
And comment-out all functions and/or variables that referencing something not 
yet ported.

Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

mx_internal methods may not need to be ported.  If they are not listed in the 
list of API s you used in your app, the next question is whether they are 
needed to emulate the functionality of the component that you do use.  In many 
cases they are not needed.

I am working on getting mx_internal working on the JS side.  Even though 
mx_internal APIs are not supported by Flex, I don't doubt that other namespaces 
are used somewhere so we should try to get it to work.  It has been working in 
simple test cases so not sure yet why it isn't working in the emulation 
components.

Thanks,
-Alex

From: Peter Ent mailto:p...@adobe.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Re: Work on Emulation

Hi Alina,

Sorry for the delayed response.

First, try to port over something easier like VRule and HRule as a first step 
since these are less complex.

As for mx_internal - I have been changing these to "protected".

Once you do that you'll find that you will also need IUITextField. I haven't 
done that but I just took a look at it. You can do a couple of things:

In Panel (and any where else), comment-out any function or variable that 
references something not yet ported. We are trying to pass compilation, so that 
would be OK at 

Re: Work on Emulation

2018-04-03 Thread Peter Ent
Hi Alina,

I've merged your VRule and HRule changes. Thanks for making them!

—peter

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 3, 2018 at 8:22 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks Alex
Now I am working on: Tile and TileDirection
Both files are compiled successfully after changes
Pull Request : 
https://github.com/apache/royale-asjs/pull/143

Only a Warning in Tile.as
What I should do to remove that warning
[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\
mx\containers\Tile.as(277): col: 5 public var may not work in minified JS output
.  Use getter/setter instead.
 [java]
 [java] mx_internal var cellWidth:Number;

Thanks,
Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Tuesday, April 03, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

Congratulations!  I merged your pull request.  You have now contributed code to 
Apache Royale.

You should be able to use mx_internal now.  I pushed those changes earlier.

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule pull 
request.  Please make sure there are no warnings in the build.  I updated 
ListEvent and SliderEvent to suppress warnings.

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks alot Peter and Alex.
HRule and VRule Files are added to new Branch and Compiled Successfully
https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/frameworks/projects/MXRoyale/src/main/royale/mx/controls

In Panel :  I will also replace “mx_internal“  with "protected"
And comment-out all functions and/or variables that referencing something not 
yet ported.

Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

mx_internal methods may not need to be ported.  If they are not listed in the 
list of API s you used in your app, the next question is whether they are 
needed to emulate the functionality of the component that you do use.  In many 
cases they are not needed.

I am working on getting mx_internal working on the JS side.  Even though 
mx_internal APIs are not supported by Flex, I don't doubt that other namespaces 
are used somewhere so we should try to get it to work.  It has been working in 
simple test cases so not sure yet why it isn't working in the emulation 
components.

Thanks,
-Alex

From: Peter Ent mailto:p...@adobe.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Re: Work on Emulation

Hi Alina,

Sorry for the delayed response.

First, try to port over something easier like VRule and HRule as a first step 
since these are less complex.

As for mx_internal - I have been changing these to "protected".

Once you do that you'll find that you will also need IUITextField. I haven't 
done that but I just took a look at it. You can do a couple of things:

In Panel (and any where else), comment-out any function or variable that 
references something not yet ported. We are trying to pass compilation, so that 
would be OK at this stage.

If you feel you need to bring something else over, then you have to go through 
the same process of course. Since you can wind up following class and interface 
down a long chain, I would just comment-out things complex. Sometimes I am left 
with "implements IUIComponent" and the rest of the interfaces listed in a class 
are put into comments.

I hope that helps.
—peter

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.a

Re: How to Set Path in UIModuleLoader

2018-04-03 Thread Alex Harui
OK, I will take a look later today.  Maybe something broke.

-Alex

On 4/3/18, 12:49 AM, "doug777"  wrote:

>Hi Alex,
>
>I've built Module Example and run it and the result is exactly the same as
>for my project.
>
>There is no Module.js in the build and in the browser, Module Should
>Appear
>Below appears at the top and nothing else.
>
>The console shows -
>
>Loading failed for the 

Re: Work on Emulation

2018-04-03 Thread Peter Ent
I recommended changing mx_internal to protected as a stop-gap. I knew Alex 
would be putting something out for MXRoyale.

Also: please update the Github issue with your progress. I've been trying to be 
consistent using it as more people working on the same items will be confusing.

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

Thanks.
Peter

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 3, 2018 at 8:26 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Re: Work on Emulation

Hi Alina,

If it is mx_internal I see suggestion to change it to some protected/private ? 
I'm not sure about that, but the other way is to got with suggestion - create 
getter/setter. Alex also in his suppress warnings in that commits [1]

[1] 
https://github.com/apache/royale-asjs/commit/3cfa84f95635df16e5f6b8214b483ae4c68a902c

Thanks,
Piotr

2018-04-03 14:22 GMT+02:00 Alina Kazi 
mailto:alina.k...@d-bz.com>>:
Thanks Alex
Now I am working on: Tile and TileDirection
Both files are compiled successfully after changes
Pull Request : 
https://github.com/apache/royale-asjs/pull/143

Only a Warning in Tile.as
What I should do to remove that warning
[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\
mx\containers\Tile.as(277): col: 5 public var may not work in minified JS output
.  Use getter/setter instead.
 [java]
 [java] mx_internal var cellWidth:Number;

Thanks,
Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Tuesday, April 03, 2018 12:27 PM

To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

Congratulations!  I merged your pull request.  You have now contributed code to 
Apache Royale.

You should be able to use mx_internal now.  I pushed those changes earlier.

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule pull 
request.  Please make sure there are no warnings in the build.  I updated 
ListEvent and SliderEvent to suppress warnings.

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks alot Peter and Alex.
HRule and VRule Files are added to new Branch and Compiled Successfully
https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/frameworks/projects/MXRoyale/src/main/royale/mx/controls

In Panel :  I will also replace “mx_internal“  with "protected"
And comment-out all functions and/or variables that referencing something not 
yet ported.

Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

mx_internal methods may not need to be ported.  If they are not listed in the 
list of API s you used in your app, the next question is whether they are 
needed to emulate the functionality of the component that you do use.  In many 
cases they are not needed.

I am working on getting mx_internal working on the JS side.  Even though 
mx_internal APIs are not supported by Flex, I don't doubt that other namespaces 
are used somewhere so we should try to get it to work.  It has been working in 
simple test cases so not sure yet why it isn't working in the emulation 
components.

Thanks,
-Alex

From: Peter Ent mailto:p...@adobe.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org"

Re: Work on Emulation

2018-04-03 Thread Piotr Zarzycki
Hi Alina,

If it is mx_internal I see suggestion to change it to some
protected/private ? I'm not sure about that, but the other way is to got
with suggestion - create getter/setter. Alex also in his suppress warnings
in that commits [1]

[1]
https://github.com/apache/royale-asjs/commit/3cfa84f95635df16e5f6b8214b483ae4c68a902c

Thanks,
Piotr

2018-04-03 14:22 GMT+02:00 Alina Kazi :

> Thanks Alex
>
> Now I am working on: Tile and TileDirection
>
> Both files are compiled successfully after changes
>
> Pull Request : https://github.com/apache/royale-asjs/pull/143
>
>
>
> Only a Warning in Tile.as
>
> What I should do to remove that warning
>
> [java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\
> src\main\royale\
>
> mx\containers\Tile.as(277): col: 5 public var may not work in minified JS
> output
>
> .  Use getter/setter instead.
>
>  [java]
>
>  [java] mx_internal var cellWidth:Number;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aha...@adobe.com]
> *Sent:* Tuesday, April 03, 2018 12:27 PM
>
> *To:* users@royale.apache.org
> *Subject:* Re: Work on Emulation
>
>
>
> Hi Alina,
>
>
>
> Congratulations!  I merged your pull request.  You have now contributed
> code to Apache Royale.
>
>
>
> You should be able to use mx_internal now.  I pushed those changes earlier.
>
>
>
> I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule
> pull request.  Please make sure there are no warnings in the build.  I
> updated ListEvent and SliderEvent to suppress warnings.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, April 2, 2018 at 11:25 PM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Work on Emulation
>
>
>
> Thanks alot Peter and Alex.
>
> HRule and VRule Files are added to new Branch and Compiled Successfully
>
> https://github.com/alinakazi/royale-asjs/tree/alinakazi-
> HRuleVRule/frameworks/projects/MXRoyale/src/main/royale/mx/controls
> 
>
>
>
> In Panel :  I will also replace “mx_internal“  with "protected"
>
> And comment-out all functions and/or variables that referencing something
> not yet ported.
>
>
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aha...@adobe.com ]
> *Sent:* Monday, April 02, 2018 8:28 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Work on Emulation
>
>
>
> Hi Alina,
>
>
>
> mx_internal methods may not need to be ported.  If they are not listed in
> the list of API s you used in your app, the next question is whether they
> are needed to emulate the functionality of the component that you do use.
> In many cases they are not needed.
>
>
>
> I am working on getting mx_internal working on the JS side.  Even though
> mx_internal APIs are not supported by Flex, I don't doubt that other
> namespaces are used somewhere so we should try to get it to work.  It has
> been working in simple test cases so not sure yet why it isn't working in
> the emulation components.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Peter Ent 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, April 2, 2018 at 7:06 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Work on Emulation
>
>
>
> Hi Alina,
>
>
>
> Sorry for the delayed response.
>
>
>
> First, try to port over something easier like VRule and HRule as a first
> step since these are less complex.
>
>
>
> As for mx_internal - I have been changing these to "protected".
>
>
>
> Once you do that you'll find that you will also need IUITextField. I
> haven't done that but I just took a look at it. You can do a couple of
> things:
>
>
>
> In Panel (and any where else), comment-out any function or variable that
> references something not yet ported. We are trying to pass compilation, so
> that would be OK at this stage.
>
>
>
> If you feel you need to bring something else over, then you have to go
> through the same process of course. Since you can wind up following class
> and interface down a long chain, I would just comment-out things complex.
> Sometimes I am left with "implements IUIComponent" and the rest of the
> interfaces listed in a class are put into comments.
>
>
>
> I hope that helps.
>
> —peter
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, April 2, 2018 at 7:43 AM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Work on Emulation
>
>
>
> mx.containers.Panel
>
> Panel.as file contains many variables and methods that are using
> mx_internal e.g. Variable
>
>   mx_internal var _showCloseButton:Boolean = false;
>
>
>
> Method
>
>   mx_internal function getStatusTextField():IUITextF

RE: Work on Emulation

2018-04-03 Thread Alina Kazi
Thanks Alex

Now I am working on: Tile and TileDirection

Both files are compiled successfully after changes

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

 

Only a Warning in Tile.as 

What I should do to remove that warning

[java] D:\outtest\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\

mx\containers\Tile.as(277): col: 5 public var may not work in minified JS output

.  Use getter/setter instead.

 [java]

 [java] mx_internal var cellWidth:Number;

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, April 03, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

Congratulations!  I merged your pull request.  You have now contributed code to 
Apache Royale.

 

You should be able to use mx_internal now.  I pushed those changes earlier.

 

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule pull 
request.  Please make sure there are no warnings in the build.  I updated 
ListEvent and SliderEvent to suppress warnings.

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

Thanks alot Peter and Alex.

HRule and VRule Files are added to new Branch and Compiled Successfully

https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/frameworks/projects/MXRoyale/src/main/royale/mx/controls
 

 

 

In Panel :  I will also replace “mx_internal“  with "protected" 

And comment-out all functions and/or variables that referencing something not 
yet ported.

 

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Alina,

 

mx_internal methods may not need to be ported.  If they are not listed in the 
list of API s you used in your app, the next question is whether they are 
needed to emulate the functionality of the component that you do use.  In many 
cases they are not needed.

 

I am working on getting mx_internal working on the JS side.  Even though 
mx_internal APIs are not supported by Flex, I don't doubt that other namespaces 
are used somewhere so we should try to get it to work.  It has been working in 
simple test cases so not sure yet why it isn't working in the emulation 
components.

 

Thanks,

-Alex

 

From: Peter Ent 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org" 
Subject: Re: Work on Emulation

 

Hi Alina,

 

Sorry for the delayed response.

 

First, try to port over something easier like VRule and HRule as a first step 
since these are less complex.

 

As for mx_internal - I have been changing these to "protected".

 

Once you do that you'll find that you will also need IUITextField. I haven't 
done that but I just took a look at it. You can do a couple of things:

 

In Panel (and any where else), comment-out any function or variable that 
references something not yet ported. We are trying to pass compilation, so that 
would be OK at this stage.

 

If you feel you need to bring something else over, then you have to go through 
the same process of course. Since you can wind up following class and interface 
down a long chain, I would just comment-out things complex. Sometimes I am left 
with "implements IUIComponent" and the rest of the interfaces listed in a class 
are put into comments.

 

I hope that helps.

—peter

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, April 2, 2018 at 7:43 AM
To: "users@royale.apache.org" 
Subject: RE: Work on Emulation

 

mx.containers.Panel 

Panel.as file contains many variables and methods that are using mx_internal 
e.g. Variable

  mx_internal var _showCloseButton:Boolean = false;

 

Method

  mx_internal function getStatusTextField():IUITextField

{

return statusTextField;

}

As use namespace mx_internal; and import mx.core.mx_internal; are commented in 
source files .

I am getting errors on these variables and methods e.g.

 [java]

D:\out\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\containers\Panel.as(1796):
 

col: 6 function 'getStatusTextField' will be scoped to  the default namespace: 
mx.containers.Panel: internal. 

It will not be visible outside of this package.

 [java]

 [java]  function getStatusTextField():IUITextField

  

Should I comment all of these variables and methods ? 

Or

Should I make all of these variables and methods P

Re: How to Set Path in UIModuleLoader

2018-04-03 Thread doug777
Hi Alex,

I've built Module Example and run it and the result is exactly the same as
for my project.

There is no Module.js in the build and in the browser, Module Should Appear
Below appears at the top and nothing else.

The console shows -

Loading failed for the 

Re: Work on Emulation

2018-04-03 Thread Alex Harui
Hi Alina,

Congratulations!  I merged your pull request.  You have now contributed code to 
Apache Royale.

You should be able to use mx_internal now.  I pushed those changes earlier.

I'm done for today, hopefully Peter or Piotr will review the Hrule/Vrule pull 
request.  Please make sure there are no warnings in the build.  I updated 
ListEvent and SliderEvent to suppress warnings.

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 11:25 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

Thanks alot Peter and Alex.
HRule and VRule Files are added to new Branch and Compiled Successfully
https://github.com/alinakazi/royale-asjs/tree/alinakazi-HRuleVRule/frameworks/projects/MXRoyale/src/main/royale/mx/controls

In Panel :  I will also replace “mx_internal“  with "protected"
And comment-out all functions and/or variables that referencing something not 
yet ported.

Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Monday, April 02, 2018 8:28 PM
To: users@royale.apache.org
Subject: Re: Work on Emulation

Hi Alina,

mx_internal methods may not need to be ported.  If they are not listed in the 
list of API s you used in your app, the next question is whether they are 
needed to emulate the functionality of the component that you do use.  In many 
cases they are not needed.

I am working on getting mx_internal working on the JS side.  Even though 
mx_internal APIs are not supported by Flex, I don't doubt that other namespaces 
are used somewhere so we should try to get it to work.  It has been working in 
simple test cases so not sure yet why it isn't working in the emulation 
components.

Thanks,
-Alex

From: Peter Ent mailto:p...@adobe.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 7:06 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Re: Work on Emulation

Hi Alina,

Sorry for the delayed response.

First, try to port over something easier like VRule and HRule as a first step 
since these are less complex.

As for mx_internal - I have been changing these to "protected".

Once you do that you'll find that you will also need IUITextField. I haven't 
done that but I just took a look at it. You can do a couple of things:

In Panel (and any where else), comment-out any function or variable that 
references something not yet ported. We are trying to pass compilation, so that 
would be OK at this stage.

If you feel you need to bring something else over, then you have to go through 
the same process of course. Since you can wind up following class and interface 
down a long chain, I would just comment-out things complex. Sometimes I am left 
with "implements IUIComponent" and the rest of the interfaces listed in a class 
are put into comments.

I hope that helps.
—peter

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Monday, April 2, 2018 at 7:43 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: RE: Work on Emulation

mx.containers.Panel
Panel.as file contains many variables and methods that are using mx_internal 
e.g. Variable
  mx_internal var _showCloseButton:Boolean = false;

Method
  mx_internal function getStatusTextField():IUITextField
{
return statusTextField;
}
As use namespace mx_internal; and import mx.core.mx_internal; are commented in 
source files .
I am getting errors on these variables and methods e.g.
 [java]
D:\out\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\containers\Panel.as(1796):
col: 6 function 'getStatusTextField' will be scoped to  the default namespace: 
mx.containers.Panel: internal.
It will not be visible outside of this package.
 [java]
 [java]  function getStatusTextField():IUITextField

Should I comment all of these variables and methods ?
Or
Should I make all of these variables and methods Public?

For Reference, I am sharing link. So you don't need to find this file in 
flex-sdk , You can find the at:
Flex-sdk  mx.containers.Panel: 
https://www.dropbox.com/s/6xb1jp2efwuwnam/PanelFlex.as?dl=0

Re: RemoteObject

2018-04-03 Thread Fréderic Cox
Thanks Piotr, I am *still* waiting on our server team to set up the AMFPHP test 
case

Verstuurd vanaf mijn iPhone

> Op 2 apr. 2018 om 08:32 heeft Prashant Kumar  het 
> volgende geschreven:
> 
> I could not get chance to look into this. Please go ahead and check this. If 
> you require any my support, do let me know.
> 
>> On Sun 1 Apr, 2018, 10:57 PM Piotr Zarzycki,  
>> wrote:
>> Hi Prashant,
>> 
>> Did you have a chance to look into that case ? If not I'm going in the next 
>> week look closer to AMF.
>> 
>> Let me know.
>> 
>> Thanks,
>> Piotr
>> 
>> 2018-02-21 7:27 GMT+01:00 Prashant Kumar :
>>> Fine, I will investigate this today and update you on the root cause.
>>> 
>>> 
>>> On 20-Feb-2018 1:53 PM, "Carlos Rovira"  wrote:
>>> Hi Prashant,
>>> 
>>> curious. I think we passed an array of typed VOs, and for example Vehicle 
>>> has only 2 strings and a Date. My VO doesn't have a date property, but I 
>>> assume that should work. Anyway, could you investigate why that not work? 
>>> As I said I can support you with pull request if you want. I'm right now 
>>> focused on new Vivid UI Set that can support themes and visual 
>>> customization.
>>> 
>>> thanks!
>>> 
>>> 
>>> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
 Following cases not working:
 
 service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
 
 var v1:Vehicle = new Vehicle();
 v1.name = "Nexon";
 v1.brand = "TATA";
 v1.dom =  new Date();
 service.send("addVehicle",[v1]);
 
 
> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira  
> wrote:
> Hi, I tested some months ago some scenarios with collections sharing some 
> VOs, and worked, but I think we should try more scenarios since complex 
> object graphs could be problematic.
> 
> Thanks Prashant for looking into this. If you can help trying to evolve 
> the code I can support you with your pull request to include your changes 
> in Royale.
> 
> 
> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>> Carlos,
>> 
>> If I sends only primary type as int , number , date etc then  all works 
>> fine but if I sends custom types as a Arraylist , VOs, and other 
>> inherited types does not work properly. 
>> 
>> Regards,
>> Prashant
>> 
>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>> Updated https://github.com/apache/royale-asjs/issues/119, think I am 
>> getting closer :-)
>> 
>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox  
>> wrote:
>>> Updated https://github.com/apache/royale-asjs/issues/119, can't get the 
>>> JAVA part to work but changing the AMF endpoint to AMFPHP I get an 
>>> error code when calling, so maybe that can help further research
>>> 
 On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox  
 wrote:
 Any instructions on how to build the example? This is kind of 
 complicated for me as I have 0 experience with JAVA and even less with 
 Maven ;-)
>>> 
>> 
>> 
> 
> 
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira
> 
 
 
 
 -- 
 Regards,
 Prashant Kumar | Mob.: +91 8408811225
>>> 
>>> 
>>> 
>>> -- 
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>> 
>>> 
>> 
>> 
>> 
>> -- 
>> Piotr Zarzycki 
>> 
>> Patreon: https://www.patreon.com/piotrzarzycki