- Home /
Flash to html communication
I've been struggling with an issue for some time. When I build a unity project with the flash player (and run it with Chrome) the Application.ExtrenalCall is not working. For example: Application.ExternalCall("alert('Hello!')");
While I do receive a pop-up with the unity web player, it does not seem to be supported with flash player. Same goes for when I try to call a javascript function from the html.
Is there a way around, am I doing something wrong, or is it just not yet supported on unity.
Thanks,
Answer by rutter · Mar 24, 2012 at 12:54 AM
According to the script reference, `Application.ExternalCall()` is web player only.
This forum thread might have some helpful tips for you. Looks like the Flash exporter may be updated to support ExternalCall()
at a later date, but that there are some possible workarounds in the meantime.
Your answer
Follow this Question
Related Questions
JavaScript --> Unity Flash Build 2 Answers
(WebGL) Activate Unity Functions with HTML/Javascript 1 Answer
Parse Array data to generate html 0 Answers
Passing variable into Unity function from browser JS via ActionScript 1 Answer
Is it possible to use the "embed" tag with Unity Flash games? 0 Answers