Home / JavaScript calls in a flash

JavaScript calls in a flash

JavaScript calls in a flash

The information to call JavaScript functions from a Flash.

It's information that calls the JavaScript in the html file that contains a swf file published in Flash.

 

— In Flash ActionScript (button) —

on(release){

           import
flash.external.ExternalInterface;

            ExternalInterface.call(“bookmark()”);

}

 — In the html file with the swf ——-

<script> 

function bookmark(){

window.external.AddFavorite(‘http://my.blogkor.com ',
My Story‘)

}

</script> 

 

Check Also

Pusan ​​International Film Festival

2017 22th Pusan ​​International Film Festival red carpet star photos

This was the last 12 days from the opening ceremony of the 22th Pusan ​​International Film Hall of Busan Haeundae Film progress. 2017년 부산국제영화 개막진

Leave a Reply

Your email address will not be published. Required fields are marked *