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

Kim Ki-bang

Kim Ki-bang Kim Huigyeong's entertainment room, appeared hello

Kim Ki-bang Kim Huigyeong after marriage, the couple will broadcast the first appearance accompanied. Heekyung Kim Kim Ki-bang couple first 28 days …

Leave a Reply

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