Re: Subclassing js:List

2016-11-29 Thread Alex Harui
On 11/29/16, 8:59 AM, "Harbs" wrote: >ContainerBase already implements IMXMLDocument. > >That’s why I was assuming that any non-trivial components should do the >same. Right, I meant that probably ContainerBase shouldn't implement IMXMLDocument and we should have an MXMLContainerBase instead t

Re: Subclassing js:List

2016-11-29 Thread Harbs
ContainerBase already implements IMXMLDocument. That’s why I was assuming that any non-trivial components should do the same. On Nov 29, 2016, at 6:21 PM, Alex Harui wrote: > We might want to do the same for Container.

Re: Subclassing js:List

2016-11-29 Thread Alex Harui
On 11/29/16, 6:52 AM, "Harbs" wrote: >I just tried making an mxml component based off js:List in FlexJS and it >doesn’t seem to work. > >I get an error when the js code tries to execute: > >I searched the asjs files for this function and it looks like only >components which implement IMXMLDocum

Subclassing js:List

2016-11-29 Thread Harbs
I just tried making an mxml component based off js:List in FlexJS and it doesn’t seem to work. I get an error when the js code tries to execute: this.generateMXMLAttributes ([0, 0, 1, 'initComplete', this.$EH0 ]); TypeError: undefined is not a function I searched the asjs files for this fun