Did you use the Flex compiler or the Royale compiler with the Flex libraries.  
Make sure you have a test case that doesn’t involve Royale at all, get it to 
work, and then see what Royale does.

Thanks,
-Alex

From: Serkan Taş <serkan....@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <users@royale.apache.org>
Date: Sunday, December 16, 2018 at 11:42 AM
To: "users@royale.apache.org" <users@royale.apache.org>
Subject: Re: Work on Emulation

Did not get any compile errors, but some warnings.

I tried in flex better it did not work either. Used the flash player and result 
is :

ReferenceError: Error #1065: Variable FindBug_Styles is not defined.
    at flash.system::ApplicationDomain/getDefinition()
    at org.apache.royale.core::SimpleCSSValuesImpl/init()
    at spark.components::Application/set valuesImpl()
    at spark.components::Application()
    at main::FindBug()
    at _main_FindBug_mx_managers_SystemManager/create()
    at mx.managers::SystemManager/initializeTopLevelWindow()
    at mx.managers::SystemManager/kickOff()
    at mx.managers::SystemManager/docFrameHandler()
    at flash.display::MovieClip/nextFrame()

Thanks,
Serkan
16.12.2018 10:10 tarihinde Alex Harui yazdı:
Were there any compile errors or warnings related to the resources?

Don’t you need [ResourceBundle] metadata for this to work?  Did you try it in 
Flex first to make sure you have a valid test case?

-Alex

From: Serkan Taş 
<serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>
Date: Saturday, December 15, 2018 at 10:24 PM
To: "users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>
Subject: Re: Work on Emulation

Hi,

I modified the js file and passed over the exception by checking parent for 
null.

After, I prepared a sample project. I guess I can not get labels from resources.

Here is refs:

Project files JS: 
https://drive.google.com/open?id=1oF7OIXuGTfLvqM8mtWGSaKiT8C6lQhb5<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1oF7OIXuGTfLvqM8mtWGSaKiT8C6lQhb5&data=02%7C01%7Caharui%40adobe.com%7Cb3e1e4c7547b41196cb308d6638e8ffe%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636805861326445636&sdata=jcummGRamhXMppLEdA9UK6LH5FhD%2Fxh56FTSmpWjNT0%3D&reserved=0>

Project files swf:  
https://drive.google.com/open?id=1IlrSrLIuryRhVfSZDhpHPCIXM1dH56Y2<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1IlrSrLIuryRhVfSZDhpHPCIXM1dH56Y2&data=02%7C01%7Caharui%40adobe.com%7Cb3e1e4c7547b41196cb308d6638e8ffe%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636805861326445636&sdata=Y0ATi%2Fl8P%2BMg141OTUMh%2FHvq8gSFNIqIYQmzJhzpJJg%3D&reserved=0>

Sources : 
https://github.com/nihavend/royale-testing<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnihavend%2Froyale-testing&data=02%7C01%7Caharui%40adobe.com%7Cb3e1e4c7547b41196cb308d6638e8ffe%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636805861326445636&sdata=wVymTjckMK%2FAboIwyK%2Fi0ncN11ffom1BP7Vh6GSWiao%3D&reserved=0>

Thanks,
Serkan


11.12.2018 01:25 tarihinde Alex Harui yazdı:


From: Serkan Taş 
<serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>
Date: Monday, December 10, 2018 at 12:15 PM
To: "users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,
10.12.2018 23:10 tarihinde Alex Harui yazdı:
Hi Serkan,

I guess the States implementations will have to check for null parent and 
assume if null that the item should not be added because the parent is 
excluded.  Give that a try and see if you can get further.
You mean changing/modifying  js output, right ?



You could do that as a quick test, but it would be best if you patch the 
ActionScript code and submit a pull request if it works.

I’ve recommended several times that you choose Ant or Maven and not combine 
them.  Pick one.  I don’t care which one.  But if you combine them, then only 
Greg will be able to help you.  There should be no need to combine them.
May you share any documentation and/or guide about one of them that I can 
follow and produce fully usable output ? It may be one of the several times, 
sorry for that :)



In royale-asjs/examples, there are many examples that have an Ant build.xml 
file and a Maven pom.xml file.  Use one of those as a template.  If you have a 
lot of modules and want to use Ant, I would recommend 
examples/mxroyale/tourdeflexexample/build.xml

HTH,
-Alex









Reply via email to