Re: [FlexJS] Issue with JSON.stringify and Bindable VO objects

2017-04-18 Thread Pan Li
Piotr I am afraid the javascript can only act as a tool to implementation the JSON class, it can't replace Flex JSON in whole, Since they are different. If you use different thing as replacement it isn't hard to find cases didn't cover and the FlexJS's JSON in js has more issues than Bindable,

Re: [FlexJS] Switching SDK from 0.7 to 0.8(dev) and rebuild FlexJS project without cleaning will cause runtime error in js mode

2017-01-12 Thread Pan Li
Yes Josh it is about FlexJS app using the nightly build. My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.

[FlexJS] Switching SDK from 0.7 to 0.8(dev) and rebuild FlexJS project without cleaning will cause runtime error in js mode

2017-01-11 Thread Pan Li
I had reported this issue earlier, when I reported it last time I thought it was compiler bug. It isn't really a bug but I think it is better to report anyway. To reproduce the problem: 1 Take any project which can work in both 0.7 and 0.8 build it with 0.7 2 Using 0.8(dev) to build and run it

Re: [FlexJS] last git code doesn't work as of 2016 NOV 29,

2016-12-02 Thread Pan Li
Hi Alex I think the javascript runtime issues happened to us again, I don't have more time to test it fully now, but it seems to happen when I didn't removed old files before rebuilding. I didn't see this in 0.7. I will test more later and send you my result if I find something. My Apache Flex

Re: [FlexJS] last git code doesn't work as of 2016 NOV 29

2016-12-01 Thread Pan Li
Hi Alex When I tested version I got about NOV 28 (which was last build success around 27), it failed to run app when wen have code like http://ns.adobe.com/mxml/2009; xmlns:local="*" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:ns="library://ns.apache.org/flexjs/html5">

Re: [FlexJS] last git code doesn't work as of 2016 NOV 29

2016-11-29 Thread Pan Li
Alex thanks for your help, I can get the databinding samples in SDK working now the problem was is broken in 0.8. Our samples were using it. I had removed fx:Declarations and it works as well. Thank you Pan Li My Apache Flex community contribution is working on the open source Moonshine

[FlexJS] last git code doesn't work as of 2016 NOV 29

2016-11-28 Thread Pan Li
working binary or source code of 0.8? Thank you Pan Li My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.

[FlexJS] click event of Label is not working in javascript mode

2016-11-11 Thread Pan Li
Hi, I tested in code in FlexJS 0.7: In swf mode, clicking Label "Hit here to test" will change text of "debugLabel", but the same code has no effect in javascript mode In 0.6 it works both in swf and javascript My Apache Flex community contribution is working on the open

[FlexJS] Container.numElements is not working

2016-11-03 Thread Pan Li
not fully finished? Thanks Pan LI My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.

Is reflection supported? More general, how could I tell if one feature is supported?

2016-10-14 Thread Pan Li
Hi guys We are working on one FlexJS application, it looks like the refection utils in Flex are all missing in last FlexJS. We had switched to other approach so we don't need it right now. but here are my questions: 1 The last api document doesn't have classes of refection utils, but some other

Re: [FlexJS] 'new int()' causes problem in FlexJS 0.7

2016-10-13 Thread Pan Li
Hi Alex there is no reason to use "new". I am asking this because we have old Flex code to migrate to FlexJS, and I noticed a difference My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.

[FlexJS] 'new int()' causes problem in FlexJS 0.7

2016-10-13 Thread Pan Li
this line works in Flex application as expected test = new int("123") but it doesn't work in FlexJS 0.7, it does build but the created javascript fails with javascript error: Can't find variable: int on the other hand, this does work: test = new Number("123") T

Re: [FlexJS]databinding using 'curly braces {} syntax' is broken in 0.7

2016-10-13 Thread Pan Li
Greg: thank you Olaf: can you please give me a sample or link or document describing what is proper binding bead of the curly brace data binding? There is no samples in SDK using this syntax, we had tried lots of code but it didn't work, we are not sure if we did it correctly Thank you My

Re: [FlexJS]databinding using 'curly braces {} syntax' is broken in 0.7

2016-10-12 Thread pan Li
yes the sample I post was wrong Thank you for point out -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-databinding-using-curly-braces-syntax-is-broken-in-0-7-tp55708p55725.html Sent from the Apache Flex Development mailing list archive at

[FlexJS]databinding using 'curly braces {} syntax' is broken in 0.7

2016-10-12 Thread Pan Li
FlexJS comes with samples using databinding, but basic 'curly brace syntax' is broken. these two lines can reproduce the problem: the code works as expect in Flex application, but it doesn't set text to the Label in FlexJS 0.7 or 0.6 Thank you Pan Li My Apache Flex community contribution

[FlexJS]DateField control is broken

2016-10-11 Thread Pan Li
DateField is not working in FlexJS 0.7 it pops error when starting in awf mode it does show in javascript mode but it doesn't response mouse click: Thank you Pan Li My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.

[FlexJS]variable's default access control is not complied correctly in javascript mode

2016-10-10 Thread Pan Li
efault access control is used everywhere. If FlexJS changes syntax of actionscript, then there should be a document listing the difference, if syntax is not changed, then this is a bug needs to be fixed Thank you Pan Li My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.

[FlexJS] DateChooser in FlexJS 0.7 fails in swf mode, doesn't render correctly in javascript mode

2016-10-08 Thread Pan Li
perfectly, there are some random gaps between some of the cells of "day". I had seen similar issues in earlier FlexJS 0.6 using DateChooser control. Thank you Pan Li My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.