Forum Moderators: phranque

Message Too Old, No Replies

How do I protect my flash(.swf) files from theft?

         

robobat

5:48 am on Jan 22, 2005 (gmt 0)

10+ Year Member



Hi,

ok, here is the situation, i want to make some flashes and post it on my site, but i don't want people to steal it from me. For example, i came across a site to check out how they protected themselves...and what they did was..say i wanted to edit the page through frontpage or see the page source..i would see the flash file, but some how they manage to add their url on or some kind of text on it, so you don't see the flash itself load, but the text that they added in the flash, so there is no way you can take it cuz you will see some sort of text say.."for more cool stuff visit yoursite.com" does anybody know how to do this? do you have to edit the .swf file yourself? i am still clueless..any help thx in advance people

Armadillo

6:21 am on Jan 24, 2005 (gmt 0)

10+ Year Member



You edit the flash movie (the .fla file) and publish the .swf.
You need a Flash editing/creation program to do this.

I use Flash ActionScript to detect the site.

site1="http://yourdomain.com";
site2="http://www.yourdomain.com";
if ((_url.substr(0,site1.length)!=site1)&&(_url.substr(0,site2.length)!=site2)) {
code here to stop or change the movies play.
}

I also load a file containing a variable such as "sitekey=hello" into the movie. I check that variable in the movie and if it is not correct the movie will not play.

robobat

10:24 pm on Jan 25, 2005 (gmt 0)

10+ Year Member



Hi,

Thx for the help, but where do you exactly add that code in? I am not really familiar with flash. I am learning at the moment. I edit the swf file and export it as .fla file. Now, I open it in Macromedia flash Mx...I i wanted to know where do i implement the code? thx in advance for the help