[ANNOUNCE] Apache Royale 0.9.6 released!

2019-10-13 Thread Piotr Zarzycki
Hi Takeshita,

Yes we know about that issue. You can do workaround for now provided here
[1]

[1]
http://apache-royale-development.20373.n8.nabble.com/Broken-royale-config-in-JS-only-build-of-released-Apache-Royale-SDK-0-9-6-td12515.html#a12543

Thanks,
Piotr

On Mon, Oct 14, 2019, 7:23 AM Takeshita Shoichiro  wrote:

> Hi,
>
> The build error occurs claiming that no xxx.swc files exist in
> royale-asjs/frameworks/libs/.
>
> In case of royale-js-swf, the corresponding directory contains required
> swc files.
>
> Would you please check whether this is a feature or a packing problem?
>
> Thanks.
>
>
> -
>
> > Executing task in folder Test Royale:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java
> -jar
> /Users/taksho/.vscode/extensions/bowlerhatllc.vscode-nextgenas-0.23.0/bin/asconfigc.jar
> --sdk /Users/taksho/royale/royale-asjs --debug=true --project
> /Users/taksho/Test Royale/asconfig.json <
>
> MXMLJSC
> +royalelib=/Users/taksho/royale/royale-asjs/frameworks
> --debug=true
> --source-map=true
> --targets=JSRoyale
> --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> --source-path+=src
> --
> src/Main.mxml
> /Users/taksho/royale/royale-asjs/frameworks/royale-config.xml(129): col: 0
> エラー : '/Users/taksho/royale/royale-asjs/frameworks/libs/Basic.swc'
> を開くことができません。
> /Users/taksho/royale/royale-asjs/frameworks/royale-config.xml (line: 129)
>
>   
>
> On Wed, Oct 9, 2019 at 5:51 PM Carlos Rovira 
> wrote:
>
>> Hi Radu,
>>
>> 0.9.6 is almost 1.0 quality, but we still need to continue working on
>> things like docs.
>> With the new improved release process we should be more agile so it's
>> possible that we can reach 1.0 before end of this year (just talking from
>> my own).
>> At this point you or any other user shouldn't be slowed down by the
>> number of the version. Instead I encourage you to start using it for
>> production (if you are not doing it yet), and collaborating and
>> contributing in this list and in the project as much as possible.
>>
>> This project is for all of us, so don't miss the opportunity to
>> contribute what you can.
>>
>> Thanks! :)
>>
>>
>>
>> El mié., 9 oct. 2019 a las 10:21, radu birsan ()
>> escribió:
>>
>>> Congrats,
>>>
>>>Push out the 1.0 as soon as possible please.
>>>
>>> Thank you,
>>> Radu
>>>
>>> On Wed, Oct 9, 2019 at 11:06 AM Carlos Rovira 
>>> wrote:
>>>
 Congratulations to all people involved in this release. It was huge and
 very challenging one!

 We are more close to an official 1.0! :D

 El mié., 9 oct. 2019 a las 9:38, Piotr Zarzycki (<
 piotrzarzyck...@gmail.com>) escribió:

> The Apache Royale community is pleased to announce the release of
> Apache Royale 0.9.6.
>
> The Apache Royale project is the next generation of the Apache Flex
> SDK. It lets developers use MXML and ActionScript 3 to generate 
> HTML/JS/CSS
> applications which can run natively in browsers. The cross-compiled code
> can also run on platforms like Electron or Apache Cordova (Adobe PhoneGap)
> to build mobile applications.
>
> This release should be considered ‘beta’ quality, although we’re very
> close to a 1.0 release and we have many applications in production at this
> point. The purpose of this release is to continue to gather feedback about
> Royale’s features and the project’s implementation strategies, and to
> recruit new contributors. We hope to grow the code base into an SDK and
> tool chain that delivers the highest productivity when developing
> applications that can run on many platforms. Beta releases, however, may
> not handle all production needs.
>
> Changes in 0.9.6:
>
> Apache Royale Framework 0.9.6:
> https://github.com/apache/royale-asjs/blob/apache-royale-0.9.6/RELEASE_NOTES.md
> Apache Royale Compiler 0.9.6:
> https://github.com/apache/royale-compiler/blob/apache-royale-0.9.6/RELEASE_NOTES.md
>
> Please file bugs at:
>
> https://github.com/apache/royale-asjs/issues
>
> If you happen to know it is a compiler issue, please use:
>
> https://github.com/apache/royale-compiler/issues
>
> For questions about how to use Royale, send email to
> users@royale.apache.org. For questions and feedback on the
> development of the source code in the release, send email to
> d...@royale.apache.org.
>
> Apache Royale is available in source and binary form from the Apache
> mirrors:
>
> Source:
>
> http://www.apache.org/dyn/closer.lua/royale/0.9.6/apache-royale-0.9.6-src.tar.gz
>
>
> http://www.apache.org/dyn/closer.lua/royale/0.9.6/apache-royale-0.9.6-src.zip
>
> Binary:
>
> http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js.tar.gz
>

Re: Issue in launching my application with latest sdk.

2019-10-13 Thread Alina Kazi
Hi Alex,
I haven't add any css related to opacity,visibility and display.

If you have time I can show you debug mode in chrome.

Thanks and Regards,
Alina kazi



On Mon, 14 Oct 2019, 10:08 AM Alex Harui,  wrote:

> AnyDesk looks like it eventually costs money.  I guess I would be willing
> to try Microsoft Remote Desktop as that seems to be free.  It would be
> better if others like me could debug it by loading some URL into a browser.
>
>
>
> If the HTMLElements in the DOM have reasonable sizes, then if you can’t
> see them, it could be some CSS property like display, visibility, opacity.
>
>
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Sunday, October 13, 2019 at 9:26 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Issue in launching my application with latest sdk.
>
>
>
> The thing is that I don't have too much more information. I think email
> title is a bit misleading.
>
>
>
> UI of application completley do not show up.
>
>
>
> I checked width/height and tried modify it but no changes.
>
>
>
> Alina is probably willing to show that stuff to anyone who is interested.
> We were using application AnyDesk - it allows smoothly see Alina screen and
> take control.
>
>
>
> Thanks,
>
> Piotr
>
>
>
> On Sun, Oct 13, 2019, 5:00 PM Alex Harui  wrote:
>
> I don’t have much information to work with.  Why are you concerned about a
> Module?  Does the Application have any UI of its own?  If so, does the
> Application UI show up?  It is rare for an Application that loads Module to
> not have any UI at all.  The subject of this email is that the Application
> is not launching, not that a Module is not loading.
>
>
>
> If the element tree looks ok, I would check the parent elements to see
> their width/height and visibility-related CSS properties.
>
>
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Sunday, October 13, 2019 at 2:20 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Issue in launching my application with latest sdk.
>
>
>
> Hi Alex,
>
>
>
> I've been a bit closer to that issue but I don't know what is happening
> with it.
>
>
>
> 1) There is no exceptions in the console
>
> 2) HTML has everything what it's needed. Module which is being mentioned
> loads correctly - there is just nothing on the screen
>
>
>
> I thought Alina that she need to nailed down which commits in SDK did it.
> I recommended her tried SDK from 2 September - where her app was working.
>
>
>
> Thanks,
>
> Piotr
>
>
>
> On Sun, Oct 13, 2019, 8:39 AM Alex Harui  wrote:
>
> Are there any exceptions in the console?
>
>
>
> What does the tree of HTMLElements look like?  Are there lots of elements
> or only a few?
>
>
>
> As we suggested to Serkan, if you can host a public version it might allow
> us to debug.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 12, 2019 at 5:06 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Issue in launching my application with latest sdk.
>
>
>
> Hi Alex,
>
>
>
> We have downloaded latest sdk 0.9.6 and compiled our Application
> successfully, After making some changes in code that is : we have replaced
> parentComponent to parentMxmlDocument in our all .as and .mxml files.
>
> Application shows blank screen on browser,when we launch index.html.
>
>
>
> I have tested existing module example available in sdk and the example is
> working fine and loading the module.
>
>
>
> But our project do not show module on screen.
>
> We are debugging the issue for 3 days.
>
> Can you please help us.
>
>
>
> Thanks and Regards,
>
> Alina kazi
>
>
>
>


Re: [ANNOUNCE] Apache Royale 0.9.6 released!

2019-10-13 Thread Takeshita Shoichiro
Hi,

The build error occurs claiming that no xxx.swc files exist in
royale-asjs/frameworks/libs/.

In case of royale-js-swf, the corresponding directory contains required swc
files.

Would you please check whether this is a feature or a packing problem?

Thanks.

-

> Executing task in folder Test Royale:
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java
-jar
/Users/taksho/.vscode/extensions/bowlerhatllc.vscode-nextgenas-0.23.0/bin/asconfigc.jar
--sdk /Users/taksho/royale/royale-asjs --debug=true --project
/Users/taksho/Test Royale/asconfig.json <

MXMLJSC
+royalelib=/Users/taksho/royale/royale-asjs/frameworks
--debug=true
--source-map=true
--targets=JSRoyale
--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
--source-path+=src
--
src/Main.mxml
/Users/taksho/royale/royale-asjs/frameworks/royale-config.xml(129): col: 0
エラー : '/Users/taksho/royale/royale-asjs/frameworks/libs/Basic.swc'
を開くことができません。
/Users/taksho/royale/royale-asjs/frameworks/royale-config.xml (line: 129)

  

On Wed, Oct 9, 2019 at 5:51 PM Carlos Rovira 
wrote:

> Hi Radu,
>
> 0.9.6 is almost 1.0 quality, but we still need to continue working on
> things like docs.
> With the new improved release process we should be more agile so it's
> possible that we can reach 1.0 before end of this year (just talking from
> my own).
> At this point you or any other user shouldn't be slowed down by the number
> of the version. Instead I encourage you to start using it for production
> (if you are not doing it yet), and collaborating and contributing in this
> list and in the project as much as possible.
>
> This project is for all of us, so don't miss the opportunity to contribute
> what you can.
>
> Thanks! :)
>
>
>
> El mié., 9 oct. 2019 a las 10:21, radu birsan ()
> escribió:
>
>> Congrats,
>>
>>Push out the 1.0 as soon as possible please.
>>
>> Thank you,
>> Radu
>>
>> On Wed, Oct 9, 2019 at 11:06 AM Carlos Rovira 
>> wrote:
>>
>>> Congratulations to all people involved in this release. It was huge and
>>> very challenging one!
>>>
>>> We are more close to an official 1.0! :D
>>>
>>> El mié., 9 oct. 2019 a las 9:38, Piotr Zarzycki (<
>>> piotrzarzyck...@gmail.com>) escribió:
>>>
 The Apache Royale community is pleased to announce the release of
 Apache Royale 0.9.6.

 The Apache Royale project is the next generation of the Apache Flex
 SDK. It lets developers use MXML and ActionScript 3 to generate HTML/JS/CSS
 applications which can run natively in browsers. The cross-compiled code
 can also run on platforms like Electron or Apache Cordova (Adobe PhoneGap)
 to build mobile applications.

 This release should be considered ‘beta’ quality, although we’re very
 close to a 1.0 release and we have many applications in production at this
 point. The purpose of this release is to continue to gather feedback about
 Royale’s features and the project’s implementation strategies, and to
 recruit new contributors. We hope to grow the code base into an SDK and
 tool chain that delivers the highest productivity when developing
 applications that can run on many platforms. Beta releases, however, may
 not handle all production needs.

 Changes in 0.9.6:

 Apache Royale Framework 0.9.6:
 https://github.com/apache/royale-asjs/blob/apache-royale-0.9.6/RELEASE_NOTES.md
 Apache Royale Compiler 0.9.6:
 https://github.com/apache/royale-compiler/blob/apache-royale-0.9.6/RELEASE_NOTES.md

 Please file bugs at:

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

 If you happen to know it is a compiler issue, please use:

 https://github.com/apache/royale-compiler/issues

 For questions about how to use Royale, send email to
 users@royale.apache.org. For questions and feedback on the development
 of the source code in the release, send email to d...@royale.apache.org.

 Apache Royale is available in source and binary form from the Apache
 mirrors:

 Source:

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/apache-royale-0.9.6-src.tar.gz


 http://www.apache.org/dyn/closer.lua/royale/0.9.6/apache-royale-0.9.6-src.zip

 Binary:

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js.tar.gz

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js.zip

 Binary with SWF support:

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js-swf.tar.gz

 http://www.apache.org/dyn/closer.lua/royale/0.9.6/binaries/apache-royale-0.9.6-bin-js-swf.zip

 When downloading from a mirror site, please remember to verify the
 downloads using signatures or MD5 hashes.

 The binary packages 

Re: Issue in launching my application with latest sdk.

2019-10-13 Thread Alex Harui
AnyDesk looks like it eventually costs money.  I guess I would be willing to 
try Microsoft Remote Desktop as that seems to be free.  It would be better if 
others like me could debug it by loading some URL into a browser.

If the HTMLElements in the DOM have reasonable sizes, then if you can’t see 
them, it could be some CSS property like display, visibility, opacity.

-Alex

From: Piotr Zarzycki 
Reply-To: "users@royale.apache.org" 
Date: Sunday, October 13, 2019 at 9:26 AM
To: "users@royale.apache.org" 
Subject: Issue in launching my application with latest sdk.

The thing is that I don't have too much more information. I think email title 
is a bit misleading.

UI of application completley do not show up.

I checked width/height and tried modify it but no changes.

Alina is probably willing to show that stuff to anyone who is interested. We 
were using application AnyDesk - it allows smoothly see Alina screen and take 
control.

Thanks,
Piotr

On Sun, Oct 13, 2019, 5:00 PM Alex Harui 
mailto:aha...@adobe.com>> wrote:
I don’t have much information to work with.  Why are you concerned about a 
Module?  Does the Application have any UI of its own?  If so, does the 
Application UI show up?  It is rare for an Application that loads Module to not 
have any UI at all.  The subject of this email is that the Application is not 
launching, not that a Module is not loading.

If the element tree looks ok, I would check the parent elements to see their 
width/height and visibility-related CSS properties.

-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Sunday, October 13, 2019 at 2:20 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Issue in launching my application with latest sdk.

Hi Alex,

I've been a bit closer to that issue but I don't know what is happening with it.

1) There is no exceptions in the console
2) HTML has everything what it's needed. Module which is being mentioned loads 
correctly - there is just nothing on the screen

I thought Alina that she need to nailed down which commits in SDK did it. I 
recommended her tried SDK from 2 September - where her app was working.

Thanks,
Piotr

On Sun, Oct 13, 2019, 8:39 AM Alex Harui 
mailto:aha...@adobe.com>> wrote:
Are there any exceptions in the console?

What does the tree of HTMLElements look like?  Are there lots of elements or 
only a few?

As we suggested to Serkan, if you can host a public version it might allow us 
to debug.

HTH,
-Alex

From: Alina Kazi mailto:alinakazi1...@gmail.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Saturday, October 12, 2019 at 5:06 AM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Issue in launching my application with latest sdk.

Hi Alex,

We have downloaded latest sdk 0.9.6 and compiled our Application successfully, 
After making some changes in code that is : we have replaced parentComponent to 
parentMxmlDocument in our all .as and .mxml files.
Application shows blank screen on browser,when we launch index.html.

I have tested existing module example available in sdk and the example is 
working fine and loading the module.

But our project do not show module on screen.
We are debugging the issue for 3 days.
Can you please help us.

Thanks and Regards,
Alina kazi



Re: IDE for Royale

2019-10-13 Thread Paul Stearns
One thing I can't seem to find, is a GUI editor for MXML files in Moonshine. Am 
I missing something, or is it only a text editor?

If Moonshine does not have a GUI editor, are there any IDEs with GUI editors 
for Royale/MXML?

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588


From: Piotr Zarzycki 
Sent: 10/13/19 3:01 PM
To: Paul Stearns 
Cc: users@royale.apache.org
Subject: IDE for Royale
Hi Paul,

We will release Moonshine probably this week with update to 0.9.6.

Each Royale version should work with Moonshine. Try download manually from 
royale website binaries for 0.9.6 and add to Moonshine. Existing Royale project 
if contains file *..as3proj you can double click and it will open in Moonshine. 
Not that if you choose 0.9.6 you may end up with issue described here [1]. I've 
provided workaround here [2]

Flex project if contains Flash Builder file you can also open trough Moonshine 
by pointing folder by options "Open/Import project..." from Home tab. - Maybe 
you will have to go trough some wizard during that process, than select 
appropriate template during setup. There is possibility that you will have to 
correct some settings after importing project - right click on project and 
Choose "Settings" - review them to see if all paths are correct.

You will have to build probably tourdeflex using ant script (still can open 
project in Moonshine), cause it's multimodule application and we are not handle 
properly multimodule app in Moonshine yet and it didn't contains also file to 
open in Moonshine. I just fixed it [3]. Try checkout that folder [4].

I don't know how to properly build tourdeflex by ant, but if script is working 
you can do use Moonshine as well - right click on project, choose settings and 
in "Ant build" tab select build.xml in folder tourdeflexmodules. Than choose 
Project -> Build with Apache Ant.

Any non multimodule app you should be able to build by options available in 
Project.

Finally you can read more about emulation components here [5]

[1] 
http://apache-royale-development.20373.n8.nabble.com/Broken-royale-config-in-JS-only-build-of-released-Apache-Royale-SDK-0-9-6-td12515.html
[2] 
http://apache-royale-development.20373.n8.nabble.com/Broken-royale-config-in-JS-only-build-of-released-Apache-Royale-SDK-0-9-6-td12515.html#a12543
[3] 
https://github.com/apache/royale-asjs/commit/0117eaf5cd8e51024c0818af7ad67b988630f282
[4] 
https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/tourdeflexmodules
[5] https://github.com/apache/royale-asjs/wiki/emulation-components

Thanks,
Piotr

On Sun, Oct 13, 2019, 7:45 PM Paul Stearns  wrote:
I downloaded Moonshine. I told it to download Royale, which I noticed it is 
downloading 0.9.4. I think I want 0.9.6 which is the latest & greatest.

Will 0.9.6 work with Moonshine?

How do I upgrade?

Last but not least, is there a tutorial on how to migrate/convert an entire 
flex project to Royale?

Perhaps how to open a Flexbuilder 3 project with Moonshine.

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588


From: Piotr Zarzycki 
Sent: 10/13/19 12:28 PM
To: pa...@compuace.com
Cc: users@royale.apache.org
Subject: IDE for Royale
Hi Paul,

Here is the link to information about IDE [1]

Here is code to tourdeflex [2] and other Emulation components examples.

[1] https://apache.github.io/royale-docs/get-started/development-tools
[2] https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale

Thanks,
Piotr

On Sun, Oct 13, 2019, 6:08 PM Paul Stearns  wrote:
To begin dabbling with Royale, I would like to use an IDE. For Flex I am using 
Flexbuilder 3.

What is the best IDE for Royale? Where can I get it?

Alex mentioned tourdeflex migration example, where can I find that?

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588




IDE for Royale

2019-10-13 Thread Piotr Zarzycki
Hi Paul,

We will release Moonshine probably this week with update to 0.9.6.

Each Royale version should work with Moonshine. Try download manually from
royale website binaries for 0.9.6 and add to Moonshine. Existing Royale
project if contains file *..as3proj you can double click and it will open
in Moonshine. Not that if you choose 0.9.6 you may end up with issue
described here [1]. I've provided workaround here [2]

Flex project if contains Flash Builder file you can also open trough
Moonshine by pointing folder by options "Open/Import project..." from Home
tab. - Maybe you will have to go trough some wizard during that process,
than select appropriate template during setup. There is possibility that
you will have to correct some settings after importing project - right
click on project and Choose "Settings" - review them to see if all paths
are correct.

You will have to build probably tourdeflex using ant script (still can open
project in Moonshine), cause it's multimodule application and we are not
handle properly multimodule app in Moonshine yet and it didn't contains
also file to open in Moonshine. I just fixed it [3]. Try checkout that
folder [4].

I don't know how to properly build tourdeflex by ant, but if script is
working you can do use Moonshine as well - right click on project, choose
settings and in "Ant build" tab select build.xml in folder
tourdeflexmodules. Than choose Project -> Build with Apache Ant.

Any non multimodule app you should be able to build by options available in
Project.

Finally you can read more about emulation components here [5]

[1]
http://apache-royale-development.20373.n8.nabble.com/Broken-royale-config-in-JS-only-build-of-released-Apache-Royale-SDK-0-9-6-td12515.html
[2]
http://apache-royale-development.20373.n8.nabble.com/Broken-royale-config-in-JS-only-build-of-released-Apache-Royale-SDK-0-9-6-td12515.html#a12543
[3]
https://github.com/apache/royale-asjs/commit/0117eaf5cd8e51024c0818af7ad67b988630f282
[4]
https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/tourdeflexmodules
[5] https://github.com/apache/royale-asjs/wiki/emulation-components

Thanks,
Piotr


On Sun, Oct 13, 2019, 7:45 PM Paul Stearns  wrote:

> I downloaded Moonshine. I told it to download Royale, which I noticed it
> is downloading 0.9.4. I think I want 0.9.6 which is the latest & greatest.
>
> Will 0.9.6 work with Moonshine?
>
> How do I upgrade?
>
> Last but not least, is there a tutorial on how to migrate/convert an
> entire flex project to Royale?
>
> Perhaps how to open a Flexbuilder 3 project with Moonshine.
>
> Paul R. Stearns
> Advanced Consulting Enterprises, Inc.
>
> 15280 NW 79th Ct.
> Suite 250
> Miami Lakes, Fl 33016
>
> Voice: (305)623-0360 x107
> Fax: (305)623-4588
>
> --
> *From*: Piotr Zarzycki 
> *Sent*: 10/13/19 12:28 PM
> *To*: pa...@compuace.com
> *Cc*: users@royale.apache.org
> *Subject*: IDE for Royale
> Hi Paul,
>
> Here is the link to information about IDE [1]
>
> Here is code to tourdeflex [2] and other Emulation components examples.
>
> [1] https://apache.github.io/royale-docs/get-started/development-tools
> [2] https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale
>
> Thanks,
> Piotr
>
> On Sun, Oct 13, 2019, 6:08 PM Paul Stearns  wrote:
>
>> To begin dabbling with Royale, I would like to use an IDE. For Flex I am
>> using Flexbuilder 3.
>>
>> What is the best IDE for Royale? Where can I get it?
>>
>> Alex mentioned tourdeflex migration example, where can I find that?
>>
>>
>>
>> Paul R. Stearns
>> Advanced Consulting Enterprises, Inc.
>>
>> 15280 NW 79th Ct.
>> Suite 250
>> Miami Lakes, Fl 33016
>>
>> Voice: (305)623-0360 x107
>> Fax: (305)623-4588
>>
>


Re: Cairngorm framework

2019-10-13 Thread Greg Dove
Hi Takeshita, Carlos suggested that I post a quick example of the type of
config I am using for Crux. This includes use of Commands which is not in
the Royale examples currently.


I think the easiest way to explain for commands (for now) is to refer to
this[1]

Once you have your CommandMap set up, all that is required is to add it to
the set of beanProviders in the top level Crux configuration, an example
might look like this:
















So in the above examples, the CruxServicesConfig , CruxCommandConfig and
CruxModelConfig  are simply mxml files with the BeanProvider tag as root
tags.
If you need singleton access to them in a similar way that you use for
Cairngorm that would be easy to add also for services and models. But it
means importing those classes for all the usage sites (which I guess you
had to do for cairngorm anyway, so that could be a viable option if you
prefer). In most cases it's probably easier to switch to injection for the
models and services.



1.
https://swizframework.jira.com/wiki/spaces/SWIZ/pages/8126506/Support+for+the+Command+pattern



On Sun, Oct 13, 2019 at 8:06 AM Greg Dove  wrote:

>
> Hi Takeshita,
>
> 1. "model" is the same as Cairngorm's vo (value object)?
> Answer: Actually 'vo' seems more correct for that example. Those were done
> quite quickly and I guess I used a package structure as a template. I will
> change that example to use vo as the package name for those later this
> week, thanks for raising that.
> That example was just a quick attempt to express another example elsewhere
> in the full set of examples in a way that worked for Crux. So yes, those
> are supposed to be value objects.
>
> 2. Is like ServiceLocator mxml required for Crux also?
> Answer: The times I have used Crux, yes I set up a 'BeanProvider' that
> includes the services. The id used for each service can be used for
> injection (which is different to Cairngorm) but provides a way to 'locate'
> the service.
>
> 3. When sending/receiving to/from application server using RemoteObject,
> how it is coded in Crux?
> Answer: With the recent work I ported, I was doing that inside the
> commands, with an implements ICommand, IResponder type approach (that
> wasn't using remoting specifically, but mx services in general).
>
> you can inject the required service into the command (follow on from your
> question 2).
> [Inject(source="myServiceId")] // the myServiceId corresponds to a service
> in the services 'BeanProvider'
> public var service:HTTPService; //or RemoteObject
>
> Use of the command pattern is not required though, and I am working on
> another app that has the beginnings of Crux integration without using
> Commands. it is pretty flexible.
>
> 4. Is there any short introduction to migrate from Cairngorm to Crux?
> Answer: No, not yet. Unless someone else tried it in the last 6 weeks, I
> guess I am the only one to do this so far. I did it about 6-8 weeks ago for
> one client as part of a proof of concept (the goal was to get general
> business logic working and one or two view/UI components, the full app work
> will come later).
> If I get time I will aim to create a guide for that. Or even better (from
> my perspective) if you want, I would be happy to provide you with full
> support to get things working with Crux if you would be happy to contribute
> a guide that will help others to get it working. I think guides are much
> better when they directly incorporate the perspective of someone who is
> approaching this for the first time. (I'm not making this a condition for
> my help, just suggesting it as an option, because we're keen to make it
> easy for more people to contribute to Royale).
>
> A couple of things I can remember without going back to look at any
> specifics:
> For Crux commands:
>
> The execute method has no argument in Crux. In Cairngorm it has the event
> as the argument, iirc.
> ICommand does not provide access to the event.
> implement IEventAwareCommand if you want access to the event in the
> command.
>
> Global Dispatcher access:
> Because the Cairngorm code used a lot of singleton access, I cheated a bit
> and matched that for some of the code I was porting.
> I created a DispatcherAccessor with singleton access which I can probably
> add to the Crux lib as a util class for this type of thing.
> It is just used to inject the main dispatcher in during configuration,
> then it can be used elsewhere in a similar way to how the original
> Cairngorm code was accessing its global dispatcher. Or you can go full
> conversion and switch everything to use injection for dispatcher access,
> for example.
>
> Note also that the support for processing of View components (the ability
> to inject into view components, run PostConstruct methods etc, requires the
> 'JSStageEvents' bead to simulate stage events. You can see that in the
> examples in the main app.
>
>
>
> On Sat, Oct 12, 2019 at 8:54 PM Takeshita Shoichiro 
> wrote:
>

Re: IDE for Royale

2019-10-13 Thread Paul Stearns
I downloaded Moonshine. I told it to download Royale, which I noticed it is 
downloading 0.9.4. I think I want 0.9.6 which is the latest & greatest.

Will 0.9.6 work with Moonshine?

How do I upgrade?

Last but not least, is there a tutorial on how to migrate/convert an entire 
flex project to Royale?

Perhaps how to open a Flexbuilder 3 project with Moonshine.

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588


From: Piotr Zarzycki 
Sent: 10/13/19 12:28 PM
To: pa...@compuace.com
Cc: users@royale.apache.org
Subject: IDE for Royale
Hi Paul,

Here is the link to information about IDE [1]

Here is code to tourdeflex [2] and other Emulation components examples.

[1] https://apache.github.io/royale-docs/get-started/development-tools
[2] https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale

Thanks,
Piotr

On Sun, Oct 13, 2019, 6:08 PM Paul Stearns  wrote:
To begin dabbling with Royale, I would like to use an IDE. For Flex I am using 
Flexbuilder 3.

What is the best IDE for Royale? Where can I get it?

Alex mentioned tourdeflex migration example, where can I find that?

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588




IDE for Royale

2019-10-13 Thread Piotr Zarzycki
Hi Paul,

Here is the link to information about IDE [1]

Here is code to tourdeflex [2] and other Emulation components examples.

[1] https://apache.github.io/royale-docs/get-started/development-tools
[2] https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale

Thanks,
Piotr

On Sun, Oct 13, 2019, 6:08 PM Paul Stearns  wrote:

> To begin dabbling with Royale, I would like to use an IDE. For Flex I am
> using Flexbuilder 3.
>
> What is the best IDE for Royale? Where can I get it?
>
> Alex mentioned tourdeflex migration example, where can I find that?
>
>
>
> Paul R. Stearns
> Advanced Consulting Enterprises, Inc.
>
> 15280 NW 79th Ct.
> Suite 250
> Miami Lakes, Fl 33016
>
> Voice: (305)623-0360 x107
> Fax: (305)623-4588
>


Issue in launching my application with latest sdk.

2019-10-13 Thread Piotr Zarzycki
The thing is that I don't have too much more information. I think email
title is a bit misleading.

UI of application completley do not show up.

I checked width/height and tried modify it but no changes.

Alina is probably willing to show that stuff to anyone who is interested.
We were using application AnyDesk - it allows smoothly see Alina screen and
take control.

Thanks,
Piotr

On Sun, Oct 13, 2019, 5:00 PM Alex Harui  wrote:

> I don’t have much information to work with.  Why are you concerned about a
> Module?  Does the Application have any UI of its own?  If so, does the
> Application UI show up?  It is rare for an Application that loads Module to
> not have any UI at all.  The subject of this email is that the Application
> is not launching, not that a Module is not loading.
>
>
>
> If the element tree looks ok, I would check the parent elements to see
> their width/height and visibility-related CSS properties.
>
>
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Sunday, October 13, 2019 at 2:20 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Issue in launching my application with latest sdk.
>
>
>
> Hi Alex,
>
>
>
> I've been a bit closer to that issue but I don't know what is happening
> with it.
>
>
>
> 1) There is no exceptions in the console
>
> 2) HTML has everything what it's needed. Module which is being mentioned
> loads correctly - there is just nothing on the screen
>
>
>
> I thought Alina that she need to nailed down which commits in SDK did it.
> I recommended her tried SDK from 2 September - where her app was working.
>
>
>
> Thanks,
>
> Piotr
>
>
>
> On Sun, Oct 13, 2019, 8:39 AM Alex Harui  wrote:
>
> Are there any exceptions in the console?
>
>
>
> What does the tree of HTMLElements look like?  Are there lots of elements
> or only a few?
>
>
>
> As we suggested to Serkan, if you can host a public version it might allow
> us to debug.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 12, 2019 at 5:06 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Issue in launching my application with latest sdk.
>
>
>
> Hi Alex,
>
>
>
> We have downloaded latest sdk 0.9.6 and compiled our Application
> successfully, After making some changes in code that is : we have replaced
> parentComponent to parentMxmlDocument in our all .as and .mxml files.
>
> Application shows blank screen on browser,when we launch index.html.
>
>
>
> I have tested existing module example available in sdk and the example is
> working fine and loading the module.
>
>
>
> But our project do not show module on screen.
>
> We are debugging the issue for 3 days.
>
> Can you please help us.
>
>
>
> Thanks and Regards,
>
> Alina kazi
>
>
>
>


IDE for Royale

2019-10-13 Thread Paul Stearns
To begin dabbling with Royale, I would like to use an IDE. For Flex I am using 
Flexbuilder 3.

What is the best IDE for Royale? Where can I get it?

Alex mentioned tourdeflex migration example, where can I find that?

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588




Issue in launching my application with latest sdk.

2019-10-13 Thread Piotr Zarzycki
Hi Alex,

I've been a bit closer to that issue but I don't know what is happening
with it.

1) There is no exceptions in the console
2) HTML has everything what it's needed. Module which is being mentioned
loads correctly - there is just nothing on the screen

I thought Alina that she need to nailed down which commits in SDK did it. I
recommended her tried SDK from 2 September - where her app was working.

Thanks,
Piotr

On Sun, Oct 13, 2019, 8:39 AM Alex Harui  wrote:

> Are there any exceptions in the console?
>
>
>
> What does the tree of HTMLElements look like?  Are there lots of elements
> or only a few?
>
>
>
> As we suggested to Serkan, if you can host a public version it might allow
> us to debug.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Saturday, October 12, 2019 at 5:06 AM
> *To: *"users@royale.apache.org" 
> *Subject: *Issue in launching my application with latest sdk.
>
>
>
> Hi Alex,
>
>
>
> We have downloaded latest sdk 0.9.6 and compiled our Application
> successfully, After making some changes in code that is : we have replaced
> parentComponent to parentMxmlDocument in our all .as and .mxml files.
>
> Application shows blank screen on browser,when we launch index.html.
>
>
>
> I have tested existing module example available in sdk and the example is
> working fine and loading the module.
>
>
>
> But our project do not show module on screen.
>
> We are debugging the issue for 3 days.
>
> Can you please help us.
>
>
>
> Thanks and Regards,
>
> Alina kazi
>
>
>


Re: Cairngorm framework

2019-10-13 Thread Alex Harui
For me there was a “Code” tab on the link I posted that took me right to the 
code.

HTH,
-Alex

From: Harbs 
Reply-To: "users@royale.apache.org" 
Date: Saturday, October 12, 2019 at 12:20 PM
To: "users@royale.apache.org" 
Subject: Re: Cairngorm framework

Here:
https://sourceforge.net/adobe/cairngorm/source/GetSourceCode/

On Oct 12, 2019, at 9:41 PM, Harbs 
mailto:harbs.li...@gmail.com>> wrote:

That link appears to be the documentation.

This seems to be the actual framework, but all links on this project seem to be 
broken.
https://sourceforge.net/adobe/cairngorm/wiki/Downloads/

On Oct 12, 2019, at 9:38 AM, Alex Harui 
mailto:aha...@adobe.com>> wrote:

It should be possible to emulate Cairngorm similar to how the MXRoyale and 
SparkRoyale components emulate the Flex MX and Spark components.  The source 
code appears to still be on 
SourceForgehttps://sourceforge.net/projects/cairngorm.adobe/

I don’t have time to work on emulating Cairngorm right now.  You could do it, 
or hire someone to do it.

HTH,
-Alex

From: Takeshita Shoichiro mailto:jl03...@gmail.com>>
Reply-To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Date: Friday, October 11, 2019 at 10:39 PM
To: "users@royale.apache.org" 
mailto:users@royale.apache.org>>
Subject: Cairngorm framework

Alex, thanks.

Appreciate to every one to respond to my question in this thread.
--
Our Flex application uses Cairngorm framework, which means Cairngorm.swc is 
included in lib.

I think it will not work without Flash.  Is there any solution to work Flex 
code that uses Cairngorm with Apache Royale?

Appreciate any advice in advance.




Re: Future proof Flex/Flash apps.

2019-10-13 Thread Alex Harui
Royale (and any Apache project) will be around as long as there are 3 active 
committers/PMC members.  You can become one of them by contributing to the 
project (code, doc, bugs, marketing, whatever).  That way you can truly have a 
stake in the future.  No corporation can shut down Royale.

Nobody has gone into production on the MX/Spark emulation component set.  I 
think Alina's team is close.  The tourdeflex migration example might give you 
an idea of what it can currently do, but really, the goal is to make it work as 
well as you need it.  We are looking for folks who want to help us improve it.  
The mindset has to be different from the Adobe days when you could just wait 
for Adobe to cut another release for you to use.  It is important that people 
get involved, even if it is just reporting bugs.  There is no dedicated test 
team for Apache Royale.  There was for Adobe Flex.  There is no corporation 
pushing this technology.  The users are supposed to help with the pushing and 
pulling.

I'm not sure where the source code is for FlourineFX.  It might be transpilable 
to JS.  It appears to use AMF underneath.  So maybe you have some work to do 
there, but in the whole, it should be far less work than migrating all of your 
code.  See if you can figure out what FlourineFX APIs you used and we can 
discuss emulating those.

HTH,
-Alex

On 10/12/19, 9:20 AM, "Paul Stearns"  wrote:

Carlos:

The applications we have written really do want to be desktop applications. 
Having a small subset of functionality for mobile use would be beneficial for a 
few of the applications we support. Mostly however these are data entry focused 
applications. One of the applications captures over 200 data elements in a 
single data entry screen with complex business rules, using a tabbed interface.

With Royale, I have some questions/concerns;

Will it be around for 10 years?How many users/companies have adopted 
Royale?Are there any applications, perhaps with similar look & feel.as what 
this app shows, already functional in Royale? If not similar, at least some 
applications I can see and touch.I use FluorineFX as my data layer interface. 
Will that be transportable?
Thanks for your help.

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588


From: Carlos Rovira 
Sent: 10/12/19 4:48 AM
To: "pa...@compuace.com" , us...@flex.apache.org
Subject: Re: Future proof Flex/Flash apps.
Hi Paul,

as Alex I think your best route is to join us in Apache Royale mailing
lists [1] and try emulation components. This will be the fastest way to
migrate to html/js touching almost no code. Royale is now in a very good
state for everyone to start using it. I encourage you to join our community
and get started here [2]

[1] 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fmailing-lists%2Fdata=02%7C01%7Caharui%40adobe.com%7C21efbb9d0bce4dbeb41e08d74f301859%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637064940295311587sdata=I%2BLA2byTf4zKIIIbTr0sELMvASa8P1anWU5B3wDkMj8%3Dreserved=0
[2] 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapache.github.io%2Froyale-docs%2Fget-starteddata=02%7C01%7Caharui%40adobe.com%7C21efbb9d0bce4dbeb41e08d74f301859%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637064940295311587sdata=ng5M33bfbxYJVCZdT70Ksb5WzwX6n0XS4SaxF7P1w1U%3Dreserved=0

best

El sáb., 12 oct. 2019 a las 8:56, Alex Harui ()
escribió:

> From 3 minutes of playing around with it, if you are looking to minimize
> code changes and don't want a more modern UI, then the emulation component
> set (MXRoyale and SparkRoyale) would be a good place to start. The
> emulation set is still a work-in-progress, but it gets better every day,
> and, IMO, it would be better for the Royale community if you could invest
> some of the time saved from not having to change so much code towards
> further improving MXRoyale and SparkRoyale as that will make the migration
> effort easier for the next person.
>
> My 2 cents,
> -Alex
>
> On 10/11/19, 3:21 PM, "Paul Stearns" wrote:
>
> So that I could get better feed back on which route I should take, I
> have created a demo version of one of my applications.
>
> This is a time accounting application which we developed and use
> internally to keep track of hours to pay consultants and bill clients.
>
> The URL is
> 

Re: excludeFrom vs visible & includeInLayout

2019-10-13 Thread Alex Harui
We want to understand why excludeFrom is not working.  If you can create a 
simple test case, that would be great, otherwise let’s try to debug a public 
version.  Instead of paying for hosting, if you can create a version that 
doesn’t require server-side processing, then you can just upload the 
HTML/JS/CSS files to DropBox or some other account.

HTH,
-Alex

From: Serkan Taş 
Reply-To: "users@royale.apache.org" 
Date: Saturday, October 12, 2019 at 6:43 AM
To: "users@royale.apache.org" 
Subject: excludeFrom vs visible & includeInLayout

Hi Herbs,

As you mentioned before, after updating the latest sources from github my 
actual problem is clearly related with the state concept, especially 
excludeFrom.

According to your advises I tried using  visible & includeInLayout,

eg. :



It did not work because when using  excludeFrom the component is not created 
until the state is changed. But with the second option the component is 
created, and due to architecture of my application flow,
throws exceptions related with created components that shouldn't be.

I have 2 options :

1. Reconstruct my whole application as the excludeFrom will never work
2. Try to find out why excludeFrom is not working

Which why should I go through ?

Thanks.






Re: Issue in launching my application with latest sdk.

2019-10-13 Thread Alex Harui
Are there any exceptions in the console?

What does the tree of HTMLElements look like?  Are there lots of elements or 
only a few?

As we suggested to Serkan, if you can host a public version it might allow us 
to debug.

HTH,
-Alex

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Saturday, October 12, 2019 at 5:06 AM
To: "users@royale.apache.org" 
Subject: Issue in launching my application with latest sdk.

Hi Alex,

We have downloaded latest sdk 0.9.6 and compiled our Application successfully, 
After making some changes in code that is : we have replaced parentComponent to 
parentMxmlDocument in our all .as and .mxml files.
Application shows blank screen on browser,when we launch index.html.

I have tested existing module example available in sdk and the example is 
working fine and loading the module.

But our project do not show module on screen.
We are debugging the issue for 3 days.
Can you please help us.

Thanks and Regards,
Alina kazi