Re: HTML pass through

2016-10-25 Thread Alex Harui
For FlexJS, MXML is converted to a data array (in ActionScript). We don't have an emitter that generates HTML. HTMLDivElement and HTMLButtonElement are defined in JS.swc. It might be possible and not too hard to create an HTMLApplication that uses a different MXMLDataInterpreter to translate the

Re: HTML pass through

2016-10-25 Thread jude
FYI I don't know if it's common knowledge but the HTMLLoader / FlexHTMLLoader has the HTML core class types listed at runtime. Here is the window property (http://pasteboard.co/jseULM6lS.png). At runtime the window property is of type __HTMLScriptObject. At compile time it's Object. I couldn't f

Re: HTML pass through

2016-10-25 Thread jude
First question. This is sort of a third use case. John is a developer at Mozilla and he doesn't like using or tags (case 1) and doesn't want to use wrapper components (case 2). He wants to use the fully qualified class names in MXML with auto complete and syntax checking. Everything else is the s

Re: HTML pass through

2016-10-25 Thread Alex Harui
Interesting. Comments inline... On 10/25/16, 4:26 PM, "jude" wrote: >Alex, > >I've been encountering two situations that don't quite fit into the FlexJS >paradigm but may fit somewhere. > >*Use Case 1:* >I'm a web developer who likes to write all my HTML by hand or I already >have a project in

HTML pass through

2016-10-25 Thread jude
Alex, I've been encountering two situations that don't quite fit into the FlexJS paradigm but may fit somewhere. *Use Case 1:* I'm a web developer who likes to write all my HTML by hand or I already have a project in HTML and the markup and CSS cannot be changed. But I've heard about FlexJS and A