I was asked if I can include a method in my game like
ExternalInterface.call(“ReportCMGameEvent”, x, “”);
Is this already possible or could it be done with the upcoming AS Dynamics?
Printable View
I was asked if I can include a method in my game like
ExternalInterface.call(“ReportCMGameEvent”, x, “”);
Is this already possible or could it be done with the upcoming AS Dynamics?
IIRC the ExternalInterface is for Javascript functions - try the Flash Player object.
Ok, sounds promising! Are there any tutorials or more detailed infos about the Java calls, besides the help file?
Javascript. Not that I know of, but it's pretty straightforward.
You can use Flash Haxx for this if you need to.
Here is info on the External Interface call function -
http://livedocs.adobe.com/flash/9.0/...tml#call%28%29
When working with AS code i have never used it before though but the info might help maybe.
It would be possible through AS Dynamics object when that is released i am guessing unless it has coding restrictions which hopefully it won't.
Great to see that there are even multiple ways to achieve this :)