wrath2019 commented on issue #452: Imports do not appear to be finding functions URL: https://github.com/apache/royale-asjs/issues/452#issuecomment-523108725 Using moonshine latest version. Doing a build as javascript. Top headers are as follows <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="initApp()" xmlns:s="library://ns.apache.org/royale/spark" xmlns:js="library://ns.apache.org/royale/basic" xmlns:veh="*"> Area of one of the code areas is as follows. public function openPLTWindow(event:MouseEvent):void { var u:URLRequest = new URLRequest("http:// "); navigateToURL(u,"_blank"); } Sorry cant include url but you get the idea I have the royale version defined to the project and in the general settings for moonshine. I know under mxroyale urlrequest is there but not sure how to make sure its is reference when the compile occurs.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
