Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
can you try download new sdk use the apache flexsdk install .with apache flexjs nightly? the %args% is empty -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55285.html Sent from the Apache Flex Development mailing lis

Re: how remove numcheck

2016-09-22 Thread lizhi
is it other way? this var n:number = arr[i]; look good but the as Number not too good. or other option? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55284.html Sent from the Apache Flex Development mailing list archive at N

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread Alex Harui
What is in %ARGS%? If it is empty, I think I'm using the same command line and it is working for me. Is your js.swc recent? On 9/22/16, 11:34 PM, "lizhi" wrote: >it is this ok? > >%FLEX_HOME%/js/bin/mxmlc %ARGS% >-external-library-path="%FLEX_HOME%\js\libs\js.swc" VectorObject.as > > > >-- >Vi

Re: how remove numcheck

2016-09-22 Thread Alex Harui
Maybe try: var a:Number = arr[0] as Number; I would add @flexjsignorecoercion Number to an asdoc block for the method. Another option may be to convert arr to Vector. -Alex On 9/22/16, 11:18 PM, "lizhi" wrote: >as code > >for (var i:int = 0; i < 1;i++ ){ >

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
it is this ok? %FLEX_HOME%/js/bin/mxmlc %ARGS% -external-library-path="%FLEX_HOME%\js\libs\js.swc" VectorObject.as -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55281.html Sent from the Apache Flex Development mail

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread Alex Harui
Still too many variables. I am using js.swc on external-library-path. You shouldn't need compiler.source-path. On 9/22/16, 9:47 PM, "lizhi" wrote: >set FLEX_HOME=d:/sdk/flexjs >start %FLEX_HOME%/js/bin/mxmlc %ARGS% >-external-library-path="%FLEX_HOME%\js\libs\js.swc" >-compiler.source-path=../s

how remove numcheck

2016-09-22 Thread lizhi
as code for (var i:int = 0; i < 1;i++ ){ var a:Number = arr[0] } js code for (var /** @type {number} */ i = 0; i < 1; i++) { var /** @type {number} */ a = Number(this.arr[0]); } and how remove the Number(this.arr[0])

Re: [FLEXJS][FALCONJX] News on the Spark-like component set

2016-09-22 Thread OK
>I'm going to leave the code in the spark branch for now and not merge it >into develop until we see what kind of response we get on this thread. The main reason why I'm stick with Flex is because of its productivity. We're able to create simple and complex apps in a very fast way cause of the co

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
set FLEX_HOME=d:/sdk/flexjs start %FLEX_HOME%/js/bin/mxmlc %ARGS% -external-library-path="%FLEX_HOME%\js\libs\js.swc" -compiler.source-path=../src src/VectorObject.as pls try this.in js.swc must include. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flex

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread Alex Harui
Still can't reproduce it. Please try from the command line so there aren't any variables to expand. For this simple of a test case you shouldn't need any options other than -external-library-path. -Alex On 9/22/16, 9:08 PM, "lizhi" wrote: >%FLEX_HOME%/js/bin/mxmlc %ARGS% >-external-library-pat

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
%FLEX_HOME%/js/bin/mxmlc %ARGS% -external-library-path="%FLEX_HOME%\js\libs\js.swc" -compiler.source-path=../src %main% -define=CONFIG::as_only,false -define=CONFIG::js_only,true i use the nightly build. i and @elseswitch all get the error -- View this message in context: http://apache-flex-de

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread Alex Harui
I'm using the head of the compiler repo. What is on your external-library-path? On 9/22/16, 9:01 PM, "lizhi" wrote: >what version sdk you are using. >pls look at the end image >https://github.com/matrix3d/spriteflexjs/issues/9#issuecomment-249097135 > > > >-- >View this message in context: >htt

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
what version sdk you are using. pls look at the end image https://github.com/matrix3d/spriteflexjs/issues/9#issuecomment-249097135 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55273.html Sent from the Apache Flex D

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread Alex Harui
I thought you said it worked. I don't quite understand your test case. I tried the below and it compiled fine. package { public class VectorObject { public function funa(o:Object):void{ } public function VectorObject():void { var vec:Vector.=Vector.([]);

Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
is it not clear?get a simple. functoin funa(o:Object):void{ } var vec:Vector.=Vector.([]); funa(vec); get build error. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55271.html Sent from the Apache Flex Developmen

Re: [2/2] git commit: [flex-utilities] [refs/heads/develop] - npm-flexjs: fixed broken URLs for guava and jburg JARs

2016-09-22 Thread OmPrakash Muppirala
Good catch! Thanks, Om On Thu, Sep 22, 2016 at 4:07 PM, Josh Tynjala wrote: > I discovered that the current version of FlexJS 0.7 on NPM cannot build > SWFs because a couple of dependencies failed to download (guava and jburg). > The URLs were returning 404 status, but the install script didn't

Re: [2/2] git commit: [flex-utilities] [refs/heads/develop] - npm-flexjs: fixed broken URLs for guava and jburg JARs

2016-09-22 Thread Josh Tynjala
I discovered that the current version of FlexJS 0.7 on NPM cannot build SWFs because a couple of dependencies failed to download (guava and jburg). The URLs were returning 404 status, but the install script didn't detect the issue. Transpiling to JS works correctly with the NPM version. FlexJS 0.7

Re: [FLEXJS][FALCONJX] News on the Spark-like component set

2016-09-22 Thread Alex Harui
On 9/22/16, 11:41 AM, "PKumar" wrote: >Great News Alex, now FlexJS will be backward-compatible and great >milestone >in converting existing Flex application to FlexJS. Hi Prashant. To be clear, FlexJS may not ever be fully backward-compatible. FlexJS is relatively backward-compatible today

Re: [FLEXJS][FALCONJX] News on the Spark-like component set

2016-09-22 Thread PKumar
Great News Alex, now FlexJS will be backward-compatible and great milestone in converting existing Flex application to FlexJS. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FLEXJS-FALCONJX-News-on-the-Spark-like-component-set-tp52004p55267.html Sent from

Re: [FLEXJS][FALCONJX] News on the Spark-like component set

2016-09-22 Thread Alex Harui
An update: After 9 months of fiddling, I finally got a "Hello World" up and running using MX components. The app is essentially: http://ns.adobe.com/mxml/2009"; xmlns:mx="library://ns.apache.org/flexjs/mx" xmlns:js="library://ns.apa

Re: [FlexJS] Beads on GraphicShape

2016-09-22 Thread Alex Harui
On 9/22/16, 3:01 AM, "yishayw" wrote: >We're adding a ClipBead on classes extending GraphicShape. Alex, we >noticed >you removed JS support for beads on GraphicShape implementors in commit >9cb1f75 (super.addedToParent() is no longer called). Was that intentional? >Is it ok to revert it? Thanks

[FlexJS] Beads on GraphicShape

2016-09-22 Thread yishayw
We're adding a ClipBead on classes extending GraphicShape. Alex, we noticed you removed JS support for beads on GraphicShape implementors in commit 9cb1f75 (super.addedToParent() is no longer called). Was that intentional? Is it ok to revert it? Thanks. -- View this message in context: http://a

Flex SDK Installer in macOS Sierra

2016-09-22 Thread Carlos Rovira
Hi, In macOS Sierra there's no more "Anywhere" option to allow install applications downloaded (Security & Privacy Pref Pane). I tried to install the Apache Flex Installer and run with no luck. I only could get it running after reenabling it with this [*]: sudo spctl --master-disable But I had t