/ Published in: ActionScript 3
Some pretty cool stuff. You can write JavaScript injections from ActionScript including local & global variables and functions.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import flash.external.ExternalInterface; var script_js :XML = <script> <![CDATA[ function(){ // Your Code Here: Dont forget to indent with SPACES } ]]> </script> ExternalInterface.call(script_js);