[GitHub] hcsuk commented on issue #325: Adding support for ExternalInterface

2018-10-25 Thread GitBox
hcsuk commented on issue #325: Adding support for ExternalInterface URL: https://github.com/apache/royale-asjs/pull/325#issuecomment-433143444 Thanks - so I will update this to define it as mx.core.ExternalInterface; I might try looking into the @externs thing although there are a few more

[GitHub] hcsuk commented on issue #325: Adding support for ExternalInterface

2018-10-25 Thread GitBox
hcsuk commented on issue #325: Adding support for ExternalInterface URL: https://github.com/apache/royale-asjs/pull/325#issuecomment-433014968 Hmmm. Tagging a class as @externs has its own issues. Firstly the transpiler still generates the functionality into the js-debug folder, it just

[GitHub] hcsuk commented on issue #325: Adding support for ExternalInterface

2018-10-25 Thread GitBox
hcsuk commented on issue #325: Adding support for ExternalInterface URL: https://github.com/apache/royale-asjs/pull/325#issuecomment-432967118 One quick comment having looked at the barcode scanner example: the "@externs" tag is on the class comment. It looks like (from

[GitHub] hcsuk commented on issue #325: Adding support for ExternalInterface

2018-10-25 Thread GitBox
hcsuk commented on issue #325: Adding support for ExternalInterface URL: https://github.com/apache/royale-asjs/pull/325#issuecomment-432966030 Great, thanks for those ... will take a look and update here when I've got this working...

[GitHub] hcsuk commented on issue #325: Adding support for ExternalInterface

2018-10-25 Thread GitBox
hcsuk commented on issue #325: Adding support for ExternalInterface URL: https://github.com/apache/royale-asjs/pull/325#issuecomment-432929781 The idea of defining the API in ActionScript and keeping the type information sounds good. I couldn't see any examples of using @externs in