Yes, I am using it at application level. Will it be available at Library project? Please clarify.
On 23-Feb-2017 2:24 AM, "Peter Ent [via Apache Flex Users]" < [email protected]> wrote: 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" <[hidden email] <http:///user/SendEmail.jtp?type=node&node=14723&i=0>> wrote: >I wrote following code: > >override protected function createElement():IFlexJSElement > { > element = document.createElement('input') as WrappedHTMLElement; > element.setAttribute('type', 'file'); > element.className = 'FileInput'; > typeNames = 'FileInput'; > > //attach input handler to dispatch flexjs change event when user write >in >textinput > goog.events.listen(element, 'input', fileChangeHandler); > > positioner = element; > positioner.style.position = 'relative'; > element.flexjs_wrapper = this; > > return element > } > >Please suggest. > > > >----- >Regards, >Prashant >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Unable-to-access-Wra >ppedHTMLElement-tp14717p14721.html >Sent from the Apache Flex Users mailing list archive at Nabble.com. ------------------------------ If you reply to this email, your message will be added to the discussion below: http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Unable-to-access- WrappedHTMLElement-tp14717p14723.html To start a new topic under Apache Flex Users, email [email protected] To unsubscribe from Apache Flex Users, click here <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==> . NAML <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> ----- Regards, Prashant -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Unable-to-access-WrappedHTMLElement-tp14717p14724.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
