Calling an “external function” from script in a screen, it get called but the UI doesn’t get rendered. Just a blank grey page.

Submitted by Terje Pedersen on 23 March 2011 at 15:31

On 23 March 2011 at 15:51 Zef Hemel commented:

Is the function implemented in Javascript? What does it look like? And what does the external function definition look like?


On 23 March 2011 at 16:04 Terje Pedersen commented:

Implemented it in mobl and it could just be empty like this:


function helloworld() : void {

}

and declared in another module like:


external function helloworld() : void

Using alert() or log() inside this function works.


On 23 March 2011 at 16:07 Zef Hemel commented:

ok, well usually you don’t use it for mobl functions, but in this case it will have to be an external sync function helloworld() : void because there’s no asynchronous calls performs in the helloworld function.


On 19 April 2011 at 14:08 Zef Hemel closed this issue.

Log in to post comments