- Home /
Passing variable into Unity function from browser JS via ActionScript
I have tried for weeks to get the popular existing example thread on this subject to work, so i'm wondering if anyone can make a better explanation with example code for my exact specification of passing a simple variable inwards from browser on the Unity Flash platform.
I am having problems compiling the solutions on the existing page.
If anyone could help it would make a great resource for others still using flash.
Answer by golden pouria · Jun 22, 2013 at 06:44 AM
Have you tried this:
http://docs.unity3d.com/Documentation/Manual/UnityWebPlayerandbrowsercommunication.html
Which tells you basically how to call a function in your unity project from your HTML page. You can also pass parameters to the function.
Hope this works.
Your answer
Follow this Question
Related Questions
Flash Build issues 1 Answer
Browser to unity communication 2 Answers
Call C# function from within as3? 1 Answer