Re: [FlexJS] How to output

2016-10-14 Thread Carlos Rovira
Hi Alex, without doubt these are great ideas, since my understanding is that, although FlexJS should in most cases hide in components the complexity os HTML/JS internals, many times people would want to declare "low level" JS. To create those components, I'm not ready enough. I'm still trying to g

Re: [FlexJS] How to output

2016-10-13 Thread Vulcansoft
Fantastic! Never thought I’d get excited about anything from Microsoft again but VSCode is really great, fast and non-intrusive! Can’t wait to switch. Christian > On Oct 14, 2016, at 3:48 AM, Josh Tynjala wrote: > > Thanks for the support! I'll try to make it as simple as I can to pull in

Re: [FlexJS] How to output

2016-10-13 Thread Josh Tynjala
Thanks for the support! I'll try to make it as simple as I can to pull in components from other SDKs to use in MXML. Probably just an extra field in asconfig.json that takes the framework root. I also want to support MXML with the Feathers SDK, so this is definitely a priority! - Josh On Oct 13,

Re: [FlexJS] How to output

2016-10-13 Thread Vulcansoft
Great! I’ll head over to your patron page now :) BTW, will this update also support the Flex 4.6 SDK or only the FlexJS SDK? I’m still on 4.6 for one reason: framework caching on the client side. Christian > On Oct 14, 2016, at 1:14 AM, Josh Tynjala wrote: > > Yes, I do. I've started work o

Re: [FlexJS] How to output

2016-10-13 Thread Josh Tynjala
Yes, I do. I've started work on it already! I'll need some time, though. I can build on top of the ActionScript support that's already there, but MXML is still handled differently enough by the compiler that I need to do some extra parsing to figure the right context for everything. You might see

Re: [FlexJS] How to output

2016-10-13 Thread Vulcansoft
Hi Josh, a bit off topic but regarding MXML: do you plan to integrate MXML support in NextGen Actionscript for VSCode? Christian > On Oct 13, 2016, at 11:22 PM, Josh Tynjala wrote: > > You can't. Think of MXML as being at a higher abstraction layer. It doesn't > know anything about HTML or t

Re: [FlexJS] How to output

2016-10-13 Thread Alex Harui
Josh is right that you currently can't, but I'm not sure the reason is about MXML being a higher abstraction layer. IMO, the issue is about how FalconJX transpiles MXML. It creates a simple data structure and the data interpreter just takes the classes mapped to the tag names and tries to instant

Re: [FlexJS] How to output

2016-10-13 Thread Josh Tynjala
You can't. Think of MXML as being at a higher abstraction layer. It doesn't know anything about HTML or the Flash display list. - Josh On Thu, Oct 13, 2016 at 2:09 PM, Carlos Rovira < carlos.rov...@codeoscopic.com> wrote: > Thanks for the various responses, many useful. > > One more thing: Can I

Re: [FlexJS] How to output

2016-10-13 Thread Carlos Rovira
Thanks for the various responses, many useful. One more thing: Can I use HTMLElement in MXML. I'm trying without luck: Thanks 2016-10-13 22:25 GMT+02:00 Alex Harui : > I think we need more context to answer this question. > > From MXML, you should be able to put "simple" HTML as the value of

Re: [FlexJS] How to output

2016-10-13 Thread Alex Harui
I think we need more context to answer this question. From MXML, you should be able to put "simple" HTML as the value of Label.html, Button.html, TextInput.html and hopefully any other FlexJS framework component that displays text. Essentially, we want all FlexJS UI widgets to work with HTML as w

Re: [FlexJS] How to output

2016-10-13 Thread Josh Tynjala
It's in the flex-typedefs repo. The Google Closure compiler comes with "externs" for JavaScript types. They're JavaScript files that are basically the API without the implementation. Like method "stubs". They define the classes, properties, and methods and all of their type information so that the

Re: [FlexJS] How to output

2016-10-13 Thread Harbs
Typedefs. On Oct 13, 2016, at 10:14 PM, Carlos Rovira wrote: > Hi Josh, > > but, the source for js.swc...how and where is defined? > > El 13 de octubre de 2016, 21:12, Carlos Rovira < > carlos.rov...@codeoscopic.com> escribió: > >> Thanks Josh! >> >> El 13 de octubre de 2016, 21:03, Josh Ty

Re: [FlexJS] How to output

2016-10-13 Thread Carlos Rovira
Hi Josh, but, the source for js.swc...how and where is defined? El 13 de octubre de 2016, 21:12, Carlos Rovira < carlos.rov...@codeoscopic.com> escribió: > Thanks Josh! > > El 13 de octubre de 2016, 21:03, Josh Tynjala > escribió: > >> var element:HTMLElement = document.createElement("i") as HT

Re: [FlexJS] How to output

2016-10-13 Thread Carlos Rovira
Thanks Josh! El 13 de octubre de 2016, 21:03, Josh Tynjala escribió: > var element:HTMLElement = document.createElement("i") as HTMLElement; > > Classes like HTMLElement, HTMLInputElement and HTMLSpanElement are defined > in js/libs/js.swc. > > - Josh > > 2016-10-13 11:55 GMT-07:00 Carlos Rovira

Re: [FlexJS] How to output

2016-10-13 Thread Josh Tynjala
var element:HTMLElement = document.createElement("i") as HTMLElement; Classes like HTMLElement, HTMLInputElement and HTMLSpanElement are defined in js/libs/js.swc. - Josh 2016-10-13 11:55 GMT-07:00 Carlos Rovira : > Hi, > > I'm trying to output html tag, I think it should be something like > H

[FlexJS] How to output

2016-10-13 Thread Carlos Rovira
Hi, I'm trying to output html tag, I think it should be something like HTMLIElement or something. Btw, Where I could find the HTMLInputElement, HTMLSpanElement and others? Thanks -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensa