Call javascript function from openfl

hello,

how to call a javacript function from openfl ?

ExternalInterface.call("myFunction", "test");

not working

Thanks

I think there might be an answer in this thread: