You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by pol2095 <po...@free.fr> on 2017/12/06 11:51:36 UTC

Spark components in flexJS

Hello,

how to covert this code for flexJS



Thanks



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
I just tried



but labelField not work, it display [object Object]



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
This is the link for download ->
http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/

2017-12-07 22:41 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> It is enough if you upack it from the zip, and you can use it in the IDE.
> What IDE are you using ?
>
> Thanks, Piotr
>
> 2017-12-07 22:31 GMT+01:00 pol2095 <po...@free.fr>:
>
>> How to install Royale, I can download an installer ?
>>
>>
>>
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

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

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
If you want to build your app only to JS it is enough to have in compiler
option -targets=JSRoyale.
Not sure what do you mean by specifying -target-player.

Thanks, Piotr

On Thu, Dec 7, 2017, 23:04 pol2095 <po...@free.fr> wrote:

> It work, I need to specify "-target-player=27"
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>

Re: Spark components in flexJS

Posted by Alex Harui <ah...@adobe.com>.
Royale can be packaged in a way that, if you don't need SWF output, you
can just unzip a set of files and start working, pretty much like how
folks got Adobe Flex back in the day.

If you need SWF output, you need the Adobe AIR SDKs and they are now so
big, we've been having problems with the Installer downloading the AIR
SDKs.  We want to try having folks use their browser to get Adobe AIR SDKs
and see if we get fewer issues that way.

Thanks,
-Alex

On 12/8/17, 2:40 AM, "pol2095" <po...@free.fr> wrote:

>Thanks
>Why you don't add Royale 0.9 in flex installer ?
>
>
>
>--
>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%7C5399c
>f5866e64faf96cf08d53e282579%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36483264518456000&sdata=1vKShEuPR3QHRbYlx1puSnzFZG7KGoCvkVeHRG2I%2BPc%3D&r
>eserved=0


Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
Thanks
Why you don't add Royale 0.9 in flex installer ?



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

Re: Spark components in flexJS

Posted by Alex Harui <ah...@adobe.com>.
There is an error near the end.  Looks like Google made a change about a month ago that isn't ES5Strict compatible.  I've asked on their commit list.

For now, I've updated the build to use an older Closure Library.  It should be available in the next nightly build which takes about an hour.

HTH,
-Alex

From: Piotr Zarzycki <pi...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Thursday, December 7, 2017 at 3:05 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: Spark components in flexJS


It is warnings, but compilation went ok. The result of compilation should be probably in bin folder.

Thanks, Piotr

On Thu, Dec 7, 2017, 23:53 pol2095 <po...@free.fr>> wrote:
it work but I have error at compilation

/dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/HTMLElementWrapper.js:102:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
 * @type {org.apache.royale.core.WrappedHTMLElement}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/HTMLElementWrapper.js:290:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  * @type {org.apache.royale.core.WrappedHTMLElement} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/IRenderedObject.js:26:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
/**  * @type {org.apache.royale.core.WrappedHTMLElement}
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/IViewportModel.js:28:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
/**  * @type {org.apache.royale.geom.Rectangle}
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:849:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  var /** @type {org.apache.royale.core.WrappedHTMLElement} */ e =
document.body;
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:877:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  var /** @type {org.apache.royale.core.WrappedHTMLElement} */ p =
this.positioner.parentNode;
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:990:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  * @type {org.apache.royale.core.WrappedHTMLElement} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:1007:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  * @type {org.apache.royale.core.WrappedHTMLElement} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/controllers/ItemRendererMouseController.js:115:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  var /** @type {org.apache.royale.core.WrappedHTMLElement} */ element =
org.apache.royale.utils.Language.as<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Forg.apache.royale.utils.Language.as&data=02%7C01%7Caharui%40adobe.com%7C3c36eeabef394bc35f7208d53dc73d04%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636482848370376266&sdata=IyV6v5cIA8QmUrLsb%2FilNy3T5tTKLWVLcziEDBfCUxY%3D&reserved=0>(this._strand,
org.apache.royale.core.UIBase).element;
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:36:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
 * @type {org.apache.royale.geom.Rectangle}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:43:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
 * @type {org.apache.royale.geom.Rectangle}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:83:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
  * @type {org.apache.royale.geom.Rectangle} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:89:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
  * @type {org.apache.royale.geom.Rectangle} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/supportClasses/StringItemRenderer.js:50:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
 * @type {org.apache.royale.core.WrappedHTMLElement}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/supportClasses/Viewport.js:96:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Size.
 * @param {org.apache.royale.geom.Size} contentSize
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
SERIOUS: goog/base.js:2515: ERROR - functions can only be declared at top
level or immediately within another function in strict mode
      function visitNode(path) {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
WARNING: 1 error(s), 15 warning(s)
The project 'Main' has been successfully compiled and optimized./





--
Sent from: http://apache-royale-users.20374.n8.nabble.com/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C3c36eeabef394bc35f7208d53dc73d04%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636482848370376266&sdata=Hk6jbHG282npxZR9DqIBOHhdwKMtKJTqWU9Nmq%2F%2Br3k%3D&reserved=0>

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
It is warnings, but compilation went ok. The result of compilation should
be probably in bin folder.

Thanks, Piotr

On Thu, Dec 7, 2017, 23:53 pol2095 <po...@free.fr> wrote:

> it work but I have error at compilation
>
> /dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/HTMLElementWrapper.js:102:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>  * @type {org.apache.royale.core.WrappedHTMLElement}
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/HTMLElementWrapper.js:290:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>   * @type {org.apache.royale.core.WrappedHTMLElement} */
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/IRenderedObject.js:26:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
> /**  * @type {org.apache.royale.core.WrappedHTMLElement}
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/IViewportModel.js:28:
> WARNING - Type annotation references non-existent type
> org.apache.royale.geom.Rectangle.
> /**  * @type {org.apache.royale.geom.Rectangle}
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:849:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>   var /** @type {org.apache.royale.core.WrappedHTMLElement} */ e =
> document.body;
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:877:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>   var /** @type {org.apache.royale.core.WrappedHTMLElement} */ p =
> this.positioner.parentNode;
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:990:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>   * @type {org.apache.royale.core.WrappedHTMLElement} */
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:1007:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>   * @type {org.apache.royale.core.WrappedHTMLElement} */
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/controllers/ItemRendererMouseController.js:115:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>   var /** @type {org.apache.royale.core.WrappedHTMLElement} */ element =
> org.apache.royale.utils.Language.as(this._strand,
> org.apache.royale.core.UIBase).element;
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:36:
> WARNING - Type annotation references non-existent type
> org.apache.royale.geom.Rectangle.
>  * @type {org.apache.royale.geom.Rectangle}
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:43:
> WARNING - Type annotation references non-existent type
> org.apache.royale.geom.Rectangle.
>  * @type {org.apache.royale.geom.Rectangle}
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:83:
> WARNING - Type annotation references non-existent type
> org.apache.royale.geom.Rectangle.
>   * @type {org.apache.royale.geom.Rectangle} */
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:89:
> WARNING - Type annotation references non-existent type
> org.apache.royale.geom.Rectangle.
>   * @type {org.apache.royale.geom.Rectangle} */
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/supportClasses/StringItemRenderer.js:50:
> WARNING - Type annotation references non-existent type
> org.apache.royale.core.WrappedHTMLElement.
>  * @type {org.apache.royale.core.WrappedHTMLElement}
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/supportClasses/Viewport.js:96:
> WARNING - Type annotation references non-existent type
> org.apache.royale.geom.Size.
>  * @param {org.apache.royale.geom.Size} contentSize
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> SERIOUS: goog/base.js:2515: ERROR - functions can only be declared at top
> level or immediately within another function in strict mode
>       function visitNode(path) {
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> WARNING: 1 error(s), 15 warning(s)
> The project 'Main' has been successfully compiled and optimized./
>
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>

Re: Spark components in flexJS

Posted by Alex Harui <ah...@adobe.com>.
That's strange.  If you look at your goog/base.js, is "function visitNode"
somehow not declared at the top-level or immediately within another
function?

-Alex

On 12/7/17, 2:53 PM, "pol2095" <po...@free.fr> wrote:

>it work but I have error at compilation
>
>dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
>println
>SERIOUS: goog/base.js:2515: ERROR - functions can only be declared at top
>level or immediately within another function in strict mode
>      function visitNode(path) {
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>--
>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%7C04e44
>26dd6d44348e48108d53dc55506%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36482840102100409&sdata=y%2FaG0pRCecXhwkYrtEcw2KOG6J4uf3BjAMZnV50Rjjo%3D&r
>eserved=0


Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
it work but I have error at compilation

/dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/HTMLElementWrapper.js:102:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
 * @type {org.apache.royale.core.WrappedHTMLElement}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/HTMLElementWrapper.js:290:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  * @type {org.apache.royale.core.WrappedHTMLElement} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/IRenderedObject.js:26:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
/**  * @type {org.apache.royale.core.WrappedHTMLElement}
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/IViewportModel.js:28:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
/**  * @type {org.apache.royale.geom.Rectangle}
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:849:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  var /** @type {org.apache.royale.core.WrappedHTMLElement} */ e =
document.body;
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:877:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  var /** @type {org.apache.royale.core.WrappedHTMLElement} */ p =
this.positioner.parentNode;
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:990:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  * @type {org.apache.royale.core.WrappedHTMLElement} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/core/UIBase.js:1007:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  * @type {org.apache.royale.core.WrappedHTMLElement} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/controllers/ItemRendererMouseController.js:115:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
  var /** @type {org.apache.royale.core.WrappedHTMLElement} */ element =
org.apache.royale.utils.Language.as(this._strand,
org.apache.royale.core.UIBase).element;
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:36:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
 * @type {org.apache.royale.geom.Rectangle}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:43:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
 * @type {org.apache.royale.geom.Rectangle}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:83:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
  * @type {org.apache.royale.geom.Rectangle} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/beads/models/ViewportModel.js:89:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Rectangle.
  * @type {org.apache.royale.geom.Rectangle} */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/supportClasses/StringItemRenderer.js:50:
WARNING - Type annotation references non-existent type
org.apache.royale.core.WrappedHTMLElement.
 * @type {org.apache.royale.core.WrappedHTMLElement}
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
WARNING:
C:/Users/jcs/Desktop/DropDownList/mxml/bin/js-debug/org/apache/royale/html/supportClasses/Viewport.js:96:
WARNING - Type annotation references non-existent type
org.apache.royale.geom.Size.
 * @param {org.apache.royale.geom.Size} contentSize
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
println
SERIOUS: goog/base.js:2515: ERROR - functions can only be declared at top
level or immediately within another function in strict mode
      function visitNode(path) {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^

dÚc. 07, 2017 11:49:30 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
WARNING: 1 error(s), 15 warning(s)
The project 'Main' has been successfully compiled and optimized./





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

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
For Application there is event: applicationComplete and for individual
components initComplete

Piotr

2017-12-07 23:16 GMT+01:00 pol2095 <po...@free.fr>:

> Other question : creationComplete Event not work ?
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

Piotr Zarzycki

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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
Other question : creationComplete Event not work ?



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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
It work, I need to specify "-target-player=27"



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

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
It is enough if you upack it from the zip, and you can use it in the IDE.
What IDE are you using ?

Thanks, Piotr

2017-12-07 22:31 GMT+01:00 pol2095 <po...@free.fr>:

> How to install Royale, I can download an installer ?
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

Piotr Zarzycki

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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
How to install Royale, I can download an installer ?



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

Re: Spark components in flexJS

Posted by Olaf Krueger <ma...@olafkrueger.net>.
Hi,
I've also just checked it out by using one of the latest Royale builds and
it just works for me.
Notice that the "VerticalLayoutWithPaddingAndGap" bead has to be placed as a
child of the list to make it work.
If you've still no luck please don't hesitate to ask!
I am pretty sure that anybody here would be happy to help!

Hope this helps,
Olaf


[1] https://gist.github.com/ok-at-github/e7901afecafa934daf03353b93e813d8
[2] https://snag.gy/i3AxBs.jpg



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

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
Royale want be anymore provided by installer. Once we release it it will be
available through npm or simple download of package. W haven't released any
version since project split as a new one. The one which I have provided you
is a nightly build.

Thanks, Piotr

2017-12-07 21:37 GMT+01:00 pol2095 <po...@free.fr>:

> It doesn't exist an installer ?
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

Piotr Zarzycki

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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
It doesn't exist an installer ?



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

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
It looks to me that you are missing namespaces [1], but also I recommend
you to try out nightly build of Royale. You can download it from here [2]
and example of Hello World  [3] which you can try to build. Once you pass
through that - Try to yours one. [4]

It should definitely work.

[1] xmlns:js="library://ns.apache.org/royale/basic"
[2]
http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/
[3] https://paste.apache.org/BB3x
[4] https://paste.apache.org/I2kP

Thanks, Piotr


2017-12-07 14:07 GMT+01:00 pol2095 <po...@free.fr>:

> My project :
>
> -  Main.mxml <https://paste.ofcode.org/xSGMYDVWL5FdH8cLTC667x>
> -  MainView <https://paste.ofcode.org/Lwa6fnbukZnmHQMQZW28D5>
>
> but labelField not work, it display [object Object]
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

Piotr Zarzycki

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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
My project :

-  Main.mxml <https://paste.ofcode.org/xSGMYDVWL5FdH8cLTC667x>  
-  MainView <https://paste.ofcode.org/Lwa6fnbukZnmHQMQZW28D5>  

but labelField not work, it display [object Object]



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

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hello,

Try to some paste [1] and post link here.

[1] https://paste.ofcode.org/

Thanks, Piotr


2017-12-07 14:01 GMT+01:00 pol2095 <po...@free.fr>:

> How to add mxml code, it doesn't appear
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

Piotr Zarzycki

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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
How to add mxml code, it doesn't appear



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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
Hello,





I try this code



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

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
What exactly did you try ? Could you post some code, and add a bit more
details ?

I'm moving that discussion to Royale mailing list.

Thanks, Piotr

2017-12-06 22:41 GMT+01:00 pol2095 <po...@free.fr>:

> I just tried
>
>
>
> but labelField not work, it display [object Object]
>
>
>
> --
> Sent from: http://apache-flex-development.2333347.n4.nabble.com/
>



-- 

Piotr Zarzycki

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

Re: Spark components in flexJS

Posted by pol2095 <po...@free.fr>.
I just tried



but labelField not work, it display [object Object] 



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/

Re: Spark components in flexJS

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi,

FlexJS development has been moved to separate project called Apache Royale.
You can shot with that question on "users@royale.apache.org". There is no
short answer to your question. You will probably need to rewrite UI part of
your applications, cause Royale have very different architecture than Flex.

Additionally make more specific question - which component do you want to
recreate using Royale ?

Thanks, Piotr



2017-12-06 12:51 GMT+01:00 pol2095 <po...@free.fr>:

> Hello,
>
> how to covert this code for flexJS
>
>
>
> Thanks
>
>
>
> --
> Sent from: http://apache-flex-development.2333347.n4.nabble.com/
>



-- 

Piotr Zarzycki

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