You used Spark Application, which I just got working a few days ago.  There 
might be issues with Alert and other popups in a Spark application.

If you want to learn more about Royale and Emulation, try debugging into it and 
see what you can figure out.  Otherwise, I will look into it after I get the 
release candidate out for vote.

-Alex

On 11/13/18, 12:58 AM, "hferreira" <[email protected]> wrote:

    "Delete the bin/js-debug folder and try again."
    That did the trick.
    I need to get used to this new approach since Flex use a single file.
    The previous compile with the previous Royale SDK probably did this
    conflite.
    
    Now, I can see the button on the screen without console errors however when
    I press the button nothing happens and I get the following error:
    
    Uncaught TypeError: Cannot read property 'systemManager' of undefined
        at Function.mx.controls.Alert.show (Alert.js:159)
        at HelloRoyale.$EH0 (HelloRoyale.mxml:12)
        at Function.goog.events.fireListener [as googFireListener]
    (events.js:744)
        at Object.org.apache.royale.core.HTMLElementWrapper.fireListenerOverride
    [as fireListener] (HTMLElementWrapper.js:61)
        at HTMLButtonElement.goog.events.handleBrowserEvent_ (events.js:870)
        at HTMLButtonElement.f (events.js:289)
    
    
    
    --
    Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C6835294e5d49400f104108d649462b80%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776963062359756&amp;sdata=Lj1M8bvxrBfOgqzNIy9%2BkjLhwi6FGUBm61WRfGblpy0%3D&amp;reserved=0
    

Reply via email to