Created
April 17, 2014 11:21
-
-
Save ahmadnaser/10975310 to your computer and use it in GitHub Desktop.
call javascript form actionscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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