PDA

View Full Version : Code that disables your flash movies to be played on ebaumsworld.com


StickAvalancheman
01-10-2006, 09:39 PM
Just in case...

Well here's what I've been using. Just stick the code on the first frame of your game or movie. It might come in handy if you dont want your work to be stolen by ebaumsworld dot com.

stop();
//Block Right Clicking
Stage.showMenu= false;
this_url = _root._url;
// list of blocked urls.
bad_urls = new Array("www.ebaumsworld.com", "ebaumsworld.com");
// Take out the http:// (http:///), and get the domain
this_url = this_url.substr(7, this_url.length);
this_url = this_url.substr(0, this_url.indexOf("/"));
var found_bad_url = false;
//Check to see if the URL is one of the bad ones
for (var i = 0; i<bad_urls.length; i++) {
if (this_url == bad_urls[i]) {
found_bad_url = true;
break;
}
}
//Change the frame if the url is the bad url
if (found_bad_url == true) {
gotoAndStop("bad");
}

Then make a frame with what you want it to show if its hosted on ebaums world (maybe goatse?) and call the frame "bad". That's it!

Carlox
01-10-2006, 11:16 PM
oh my god - that's insane, if it works. HERO!!!

Soon to be flash master
01-11-2006, 02:20 AM
YOU ARE A HERO



i hope this reache's other forums so that eric goes broke

noobpwner1
01-11-2006, 06:59 AM
That's cool, but it makes me wonder if it works on subdomains.

arkhan
01-11-2006, 07:07 AM
still, there are many ways he may overcome this...its somenthing that probanly many people already tryed, and he possibly stole anyway..
and the code could be a lot simples that that too if the only bad domain is the ebaumsworld..this code would be good if there are many domains you want to block...

Logster
01-11-2006, 05:49 PM
Thank you, you helped me.

Now to find out how to make good games and movies.

Carlox
01-11-2006, 09:13 PM
maybe someone could make a quick flash with the code in it, then submit it to ebaumsworld...... see if it works

also, what about the right-click "forward" option to skip the scene?

Soon to be flash master
01-11-2006, 11:06 PM
i hope skye post's no xgen games are on ebaumsworld.com and there all pretty good so he must have done sumthing

Darcy!
01-12-2006, 01:12 AM
Carlox if you read the start it would have the no-right click code.

bactac
01-12-2006, 06:50 AM
http://www.locklegion.com/viewtutorial.php?id=133