JavaScript --> Unity Flash Build

Hi, i am sorry about my title i did not know what to put, here is the question, how do i send a function from JavaScript to Unity Flash player build?


Heres the docs for webplayer. I dont know if its the same API when you’re doing a flash build

Edit: found some docs for Flash → unity communication too