Posted By

tuffstudio on 01/19/11


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

burnandbass
liakwee
kure69
merritt212


Get URL of the Page Where SWF is Embedded


 / Published in: ActionScript 3
 

  1. function get currentURL():String
  2. {
  3. var url:String;
  4. if (ExternalInterface.available) {
  5. return ExternalInterface.call("window.location.href");
  6. }
  7. return url;
  8. }

Report this snippet  

You need to login to post a comment.