jeudi 22 décembre 2016

Does ExternalInterface support dot notation access to a function owned by an object?

Does ExtenalInterface.call support dot access to functions?

I'm trying to write a wrapper class and not have all my functions on the window document so I've put them in my own class MyClass.MyFunction.

But does that work with external interface? Will this work:

var result:Object = ExtenalInterface.call("MyClass.MyFunction", "hello");

Aucun commentaire:

Enregistrer un commentaire