/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var checkURL:String = (new LocalConnection()).domain();//stage.loaderInfo.url; if(checkURL=="tuff-studio.com" || checkURL=="localhost") { } else { _root.createTextField("err_txt", 1, 0, 0, Stage.width, Stage.height); err_txt.multiline = true; err_txt.textColor = 0xFF0000; err_txt.text = "This file is stolen from www.tuff-studio.com"; getURL("http://www.tuff-studio.com","_self"); };