[FlexJS] Translation from framework to JS

2016-10-10 Thread Carlos Rovira
Hi, I'm in the process of trying to see how integrate a CSS library (like MDL). In order to get it, I need to know more about the process of converting a FlexJS component to JS. For example, a js:Container, should translate to a or something like that, is that right? (I see js:ContainerBase but

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

2016-10-10 Thread Alex Harui
On 10/10/16, 12:18 PM, "OK" wrote: > >While working with FlexJS I've noticed that sometimes it seems to be >crucial >to use the "this" keyword: >E.g.; return this.field; >But I'm not sure if I remember it correctly... IMO, it is a bug if you have to add a 'this' that

Re: [FlexJS] Translation from framework to JS

2016-10-10 Thread OmPrakash Muppirala
I have this on my to do list as well. Will jump in as soon as I get some time. Thanks, Om On Oct 10, 2016 1:08 PM, "OK" wrote: > Carlos Rovira-3 wrote > > As I get more knowledge on this, I think w could discuss, if we could get > > a > > MDL library to expose MDL look'n

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

2016-10-10 Thread OK
pan Li wrote > package > { > public class SomeClass > { >var field:String = "hello"; >public function doSomething():String >{ >return field; >} > } > } While working with FlexJS I've noticed that sometimes it seems

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

2016-10-10 Thread OK
Alex Harui wrote > IMO, it is a bug if you have to add a 'this' that isn't required in > ActionScript. I think I fixed this particular scenario. Let us know what > else you f ind. Yes you're right it should classified as a bug but I've not take the time to figure out in which cases it happens

Re: [FlexJS] Translation from framework to JS

2016-10-10 Thread OK
Carlos Rovira-3 wrote > As I get more knowledge on this, I think w could discuss, if we could get > a > MDL library to expose MDL look'n feel directly on FlexJS > Or I you think there's a better approach. > I think this is one of the main things we need, to start spreading the > word > of FlexJS

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

2016-10-10 Thread Alex Harui
I'll look into it. We haven't done much work with package internal. -Alex On 10/9/16, 9:25 PM, "Pan Li" wrote: > > >Actionscript document defines that internal (default) variable means: (the >variable is )Visible to references inside the same package. > >But it doesn't

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

2016-10-10 Thread Peter Ent
I've committed a fix to DateChooser. The problem was that DateChooser was looking for background and border beads on the SWF side which were not defined in the defaults.css. Further, had those beads been defined, DateChooser would not have used them correctly. Please take a new nightly build

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

2016-10-10 Thread Pan Li
Actionscript document defines that internal (default) variable means: (the variable is )Visible to references inside the same package. But it doesn't compile correctly in FlexJS javascript mode in 0.7 and 0.6, it does build but the created javascript is broken: here is one simple class to

Re: [FlexJS] Translation from framework to JS

2016-10-10 Thread Alex Harui
On 10/10/16, 12:05 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >I'm in the process of trying to see how integrate a CSS library (like >MDL). >In order to get it, I need to know more about the process of

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

2016-10-10 Thread Peter Ent
I'm looking into it this morning. Regards, Peter Ent Adobe Systems/Apache Flex Project On 10/8/16, 5:15 AM, "Pan Li" wrote: > > >Hi everyone! > >DateChooser control fails to me in FlexJS 0.7 in swf mode: >the problem can be reproduced with only two lines of code (There were