Posted By

windshapes on 10/05/13


Tagged


Versions (?)

Externall Interface IE8


 / Published in: JavaScript
 

Get swf object or embed tag for use with flash ExternallInterface.

  1. function getSwf(name){
  2. var swf = document[name] || window[name];
  3. return swf.length > 1 ? swf[swf.length - 1] : swf;
  4. }

Report this snippet  

You need to login to post a comment.