Re: FlexJS: Unable to access WrappedHTMLElement

2017-02-22 Thread Alex Harui
Try to follow how we make our SWCs and put your custom component in a SWC. Try copying the HTML5 folder as a starting point. HTH, -Alex On 2/22/17, 9:58 PM, "PKumar" wrote: >Yes, I am using it at application level. >Will it be available at Library project? Please

Re: FlexJS: Unable to access WrappedHTMLElement

2017-02-22 Thread Peter Ent
The WrappedHTMLElement is only available when compiling with COMPILE::JS blocks which are available within the FlexJS framework projects. Are you trying to build this at the application level? Regards, Peter Ent Adobe Systems/Apache Flex Project On 2/22/17, 1:50 PM, "PKumar"

Re: FlexJS:Reflection API

2017-02-22 Thread PKumar
As suggested, I am planning to create one class for handling the rgisterClassAlias related code. This class will hold array of VO class & alias name that need to register for AMF de-serialization. I will call registerClassAlias on same array before calling blazeDS call. Regards, Prashant -

Re: FlexJS: Unable to access WrappedHTMLElement

2017-02-22 Thread PKumar
I wrote following code: override protected function createElement():IFlexJSElement { element = document.createElement('input') as WrappedHTMLElement; element.setAttribute('type', 'file'); element.className =