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,

Same issue for me.

1 Answer

1

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.