101 posts
  • Elite Author
  • Referred between 100 and 199 users
  • Bought between 1 and 9 items
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
PixelBook says

I’ve searched threads related to this issue and found bobocel’s code

http://pastie.org/617744

But since it’s the first time i use it, i have a few questions. First of all, where you do you put the code? Do you insert it in the first frame of the timeline and write something like this?...

if(isStolen==false) { //the rest of your code }

Then, what domain names I’ll need to write? Before your item get’s uploaded on AD, you won’t know the exact domain (it might be ‘activeden’ or ‘s3.envato’ or another).

Thanks in advance.

1549 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 100 and 199 users
  • Sold between 50 000 and 100 000 dollars
dSKY says

Reviewers encrypt your files.
All you can do is embed the xml inside the file ,so it doesn’t load externally.

1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

I also have thought of that solution but never tried it. Great that it’s done :) Encryption might not be enough :/

LeatherwingStudios
LeatherwingStudios Recent Posts Threads Started
527 posts
  • Sold between 100 and 1 000 dollars
  • Has been a member for 6-7 years
  • Bought between 50 and 99 items
  • Exclusive Author
  • United States
LeatherwingStudios says

secureSWF (same one AD uses) has an option to restrict to a certain domain as well as obfuscate your SWF . but I have used Bobocel’s solution and it is quite nice.

4145 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 more
Enabled Volunteer moderator says

Hey guys. This is something I wrote awhile ago. I really hope it helps you out! Quick Tip: Lock SWF to a specific Domain Name :)

2 posts
  • Exclusive Author
  • Has been a member for 3-4 years
quickcode says

I am sorry, but I don’t understand why you want to protect the preview? Anyone can purchase your item and get the full sources.

3671 posts Community Moderator
  • Has been a member for 5-6 years
  • Contributed a Tutorial to a Tuts+ Site
  • Netherlands
  • Community Moderator
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
+4 more
Joost Volunteer moderator says
I am sorry, but I don’t understand why you want to protect the preview? Anyone can purchase your item and get the full sources.

It’s not the people that actually purchase that these guys are afraid of are trying to prevent from doing their dirty deeds.. ;)

3069 posts
  • Has been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
  • Romania
wickedpixel says
I am sorry, but I don’t understand why you want to protect the preview? Anyone can purchase your item and get the full sources.

...and some of the files don’t even require to source code to be changed in order to work. like those banner rotators.

4145 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 more
Enabled Volunteer moderator says
I am sorry, but I don’t understand why you want to protect the preview? Anyone can purchase your item and get the full sources.
...and some of the files don’t even require to source code to be changed in order to work. like those banner rotators.

Depends, but true! :) If the file uses full XML , and it’s encrypted by the staff, then it’s useless, the XML string is scrambled :)

2 posts
  • Exclusive Author
  • Has been a member for 3-4 years
quickcode says
I am sorry, but I don’t understand why you want to protect the preview? Anyone can purchase your item and get the full sources.
...and some of the files don’t even require to source code to be changed in order to work. like those banner rotators.

It seems it is impossible to fight theft. The only way is to keep the tracks of stolen items. You can place the “invisible” unique text within the preview (for example “My super project xyz”) and then use the google search request “My super project xyz” filetype:swf to get the list of all sites which are using your file.

by
by
by
by
by
by