Posted By

tuffstudio on 11/26/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

tspitzr
onemanstudio


Domain Redirection [tuff-studio]


 / Published in: ActionScript 3
 

  1. var checkURL:String = stage.loaderInfo.url;
  2. if(checkURL.slice(11, 22)=="tuff-studio" || checkURL.slice(7, 18)=="tuff-studio" )
  3. {
  4. }
  5. else
  6. {
  7. var URL:URLRequest = new URLRequest("http://www.tuff-studio.com" )
  8. navigateToURL(URL, "_self" )
  9. };

Report this snippet  

You need to login to post a comment.