Re: FlexJS metadata / reflection

2016-01-16 Thread Alex Harui
On 1/16/16, 10:55 PM, "jude" wrote: >I'm talking about a live preview that's created from the MXML markup. It >doesn't pay attention to any of the AS. The components are created on the >fly from the XML. There would be no interaction. > >With your live coding example, you start coding and when

Re: FlexJS metadata / reflection

2016-01-16 Thread jude
I'm talking about a live preview that's created from the MXML markup. It doesn't pay attention to any of the AS. The components are created on the fly from the XML. There would be no interaction. With your live coding example, you start coding and when you save you create a new swf. That swf is wa

Re: FlexJS metadata / reflection

2016-01-16 Thread Alex Harui
I'm not sure I understood all of that, and it sounds interesting, but I'm not clear how you can "assemble" the code that glues the UI together at runtime without a compiler. For example, if I want to click on something to change from state A to state B, that is usually done in ActionScript. -Alex

Re: FlexJS metadata / reflection

2016-01-16 Thread jude
If you do we can do some runtime live rendering without using a compiler. I'm doing that now for MXML using only metadata and doing it live for HTML markup. For MXML import there are two passes, one is to check for valid XML and if not valid return any errors, then if it is valid, we pass it to th

Re: FlexJS metadata / reflection

2016-01-15 Thread Alex Harui
On 1/15/16, 8:39 PM, "jude" wrote: >Does FlexJS support a reflection like describeType method? Is there Flex >like metadata in it? We haven't implemented that yet. I was just about to start in on some of the framework-related code for some of it. It is needed to do a more Spark-like componen

FlexJS metadata / reflection

2016-01-15 Thread jude
Does FlexJS support a reflection like describeType method? Is there Flex like metadata in it?