flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kevin.godell" <kevin.god...@gmail.com>
Subject Re: [FlexJS] Is it possible write code in js?
Date Sat, 23 May 2015 11:34:21 GMT
Hi Piotr, I had a similar thought pertaining to the interaction with
Cordova/PhoneGap plugins. I think that someone, probably Alex, had mentioned
the benefits of creating a SWF from the AS would allow for faster and easier
debugging before sending it off to become html/js/css, which makes sense.
But, I don't think we would be able to test the Cordova/PhoneGap plugins
from the SWF, since they won't exist until the html/js/css is sent over to
Cordova for further processing into the final product. Correct me if I am
wrong.

Getting to the point, what type of plugin support is planned? Will there be
FlexJS code that already knows how to produce the correct javascript to
interact with Cordova plugins? I looked at the CordovaCameraExample, but did
not mess with it, yet.

Could there be a way to include javascript in the mxml file, maybe by
wrapping it in a tag <js:alreadyJavascript> that the compiler can recognize
and know that it should be included "as is" and not alter, in case there is
a 3rd party plugin that is not supported by FlexJS?






--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Is-it-possible-write-code-in-js-tp46845p46847.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Mime
View raw message