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ş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Saturday, December 15, 2018 at 10:24 PM
*To: *"[email protected]" <[email protected]>
*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%7C809cd01b7fff4a8c9fe708d6631f1935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636805382584059197&sdata=UXwFGkoloovdYo%2F1MxV0lPcaJgAbz3uDuNsiXk3PPH0%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%7C809cd01b7fff4a8c9fe708d6631f1935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636805382584059197&sdata=9Blrfw6USHNhhJRobzuoLYvTqEW07MYpuiPmmphxupY%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%7C809cd01b7fff4a8c9fe708d6631f1935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636805382584069202&sdata=jZQL3NSTAIlAy2WwWqE7OjtTOc0cDC%2FN16vyhlGNdlk%3D&reserved=0>

Thanks,
Serkan

11.12.2018 01:25 tarihinde Alex Harui yazdı:

    *From: *Serkan Taş <[email protected]>
    <mailto:[email protected]>
    *Reply-To: *"[email protected]"
    <mailto:[email protected]> <[email protected]>
    <mailto:[email protected]>
    *Date: *Monday, December 10, 2018 at 12:15 PM
    *To: *"[email protected]" <mailto:[email protected]>
    <[email protected]> <mailto:[email protected]>
    *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