Open wrath2019 opened 5 years ago
Can you provide more info? I understand you downloaded latest nightly build Royale SDK, so you're up to date. That's good. Then how are you building your app? ANT? Maven? IDE?. Also a sample of the code you're trying to compile will help.
Thanks
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.
It is not going to work. Royale doesn't provide you straigh forward compilation. Please read about Emulation Component you can find all information on Wiki in this respository. - This is the closest thing which you can help you went to path which you are trying to.
I will take a look.
We are attempting to convert an old flex app to royale. We have the newest nightly build however there are still build errors which seem to indicate either we are not accessing the right directories or have something set wrong. Examples of errors. Type was not found or was not a compile-time constant: URLRequest. : : var u:URLRequest = new URLRequest("http
Error: Call to a possibly undefined method navigateToURL. : : navigateToURL(u,"_blank");
Newer to this type of software so some guidance is appreciated.