Hi Jim, Yes we can, but you have to assume that your library is part of your loaded webpage. [1] - In this html template you can see that material.min.js is included. We are doing calls of JS functions from AS in MDL module. Example is UpgradeElement bead (method: upgradeElement) which just gets object from window and calls on it some existing function [2]
[1] https://github.com/apache/flex-asjs/blob/develop/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html [2] https://github.com/apache/flex-asjs/blob/develop/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as Let me know it it is enough understandable. Piotr 2017-08-23 15:40 GMT+02:00 Jim Norris <jim.nor...@e-work.com>: > In FlexJS, is there a way to call a Javascript function from ActionScript? > > > > I did not see an obvious way to do it but I may have missed something. > > > > > > > > > > > > Thanks, > > > > Jim > >