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(‘https://my.blogkor.com’,
My Story‘)

}

</script> 

 

Show More

Leave a Reply

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

Close
Close

Adblock Detected

Please consider supporting us by disabling your ad blocker