Your Ad Here

Posted By

arpo on 06/23/09


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

tripleaxis
pauloc
TrentSkunk


Get Path of SWF


 / Published in: ActionScript 3
 

  1. import flash.external.ExternalInterface;
  2.  
  3. //Method 1
  4. var urlPath = ExternalInterface.call("window.location.href.toString");
  5.  
  6.  
  7. //Method 2
  8. var urlPath = loaderInfo.url;

Report this snippet  

You need to login to post a comment.