flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OK <p...@olafkrueger.net>
Subject [FlexJS] Accessing the DOM
Date Thu, 23 Mar 2017 20:46:24 GMT
Hi,
FlexJS and Falcon are still some kinds of a black box for me, maybe somebody
could enlighten me again:

Encouraged again by Josh's tutorials I'm playing around with accessing the
DOM by using e.g. 
"document.getElementById('myInput') as HTMLInputElement" which works pretty
fine.
My understanding is that this is an AS3 feature and that "js.swc" contains
all the type definitions that make this possible.

To get an idea of how it works I've searched the falcon (and also asjs) repo
with keywords like "HTMLInputElement" but I found nothing relevant.

Moreover, it seems to me that accessing the DOM only works with pure AS3
projects?
Or it is possible to build "native AS3/HTML components" and compile it at
the same time with FlexJS components within the same project?

Thanks,
Olaf




--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Accessing-the-DOM-tp60722.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Mime
View raw message