Skip to content

Instantly share code, notes, and snippets.

@ahmadnaser
Created April 17, 2014 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadnaser/10975310 to your computer and use it in GitHub Desktop.
Save ahmadnaser/10975310 to your computer and use it in GitHub Desktop.
call javascript form actionscript
import flash.external.ExternalInterface;
ExternalInterface.call("dofinish()");
<script type="text/javascript">
function dofinish() {
alert("This function is called from ActionScript!");
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment