Posted By

tuffstudio on 12/07/10


Tagged


Versions (?)

Domain Redirection AS2 [tuff-studio]


 / Published in: ActionScript
 

  1. var checkURL:String = (new LocalConnection()).domain();//stage.loaderInfo.url;
  2. if(checkURL=="tuff-studio.com" || checkURL=="localhost")
  3. {
  4. }
  5. else
  6. {
  7. _root.createTextField("err_txt", 1, 0, 0, Stage.width, Stage.height);
  8. err_txt.multiline = true;
  9. err_txt.textColor = 0xFF0000;
  10. err_txt.text = "This file is stolen from www.tuff-studio.com";
  11. getURL("http://www.tuff-studio.com","_self");
  12. };

Report this snippet  

You need to login to post a comment.