Basic Framework for writing JavaScript injections

/ Published in: ActionScript 3
Save to your folder(s)

Some pretty cool stuff. You can write JavaScript injections from ActionScript including local & global variables and functions.

Copy this code and paste it in your HTML
  1. import flash.external.ExternalInterface;
  2. var script_js :XML =
  3. <script>
  4. <![CDATA[
  5. function(){
  6. // Your Code Here: Dont forget to indent with SPACES
  7. }
  8. ]]>
  9. </script>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.