Anti-copying method of online works

Source: Internet
Author: User
Tags variable

Some people say: "On the net works there is no copyright", although some extreme, but also not unreasonable. After all, on the net works, especially ordinary writing works more easily by people Shang, just click on the ctrl+c→ctrl+v on the line. It seems like a dilemma to publish your work online and not want to be Shang. Now provide a solution to the above problems, hoping to play a good effect. The tool for its solution is Macromedia's online animation software Flash 5.

Here are the steps to protect your artwork using Flash 5来:

1. Create a new Flash 5 document and rename layer 1 to protect;

2. Specify frame 1th as a keyframe, open the Frame Actions panel, and enter the following statement:

Loadvariablesnum (″protect.txt″,0);

3. Specify frame 2nd as a keyframe, open the Frame Actions panel, and enter the following statement:

if (/:p rotect==1) {

gotoAndPlay (4);

}

4. Set the 3rd frame as the key frame, and enter "please go to a certain website to watch this work", and then open the frame Actions panel, and enter the following statement: stop;

5. Set the 4th frame as the key frame, starting from here to place your work.

In addition, make a text file, named Protect.txt, enter &protect=1 in the file, notice that there is a &, that this is a variable.

If you do not specify a path to a text file in the SWF, be aware that the output SWF file and text file are placed in the same directory when uploading. But in order to better protect their work, this article proposes to store the variables of the text file and SWF file directory storage, so that the work can be more secure.

Now explain the action in Flash 5 in this article, and the action added in frame 1th is to tell Flash 5 to read a variable in a text file named Protect.txt. The action in frame 2nd is to determine whether the variable protect in the read Portect.txt is 1, and if 1, jump to frame 4th. The action of frame 3rd is stopped when the 2nd frame is judged to be no, and it prompts the authorized website to watch the work, so that the Flash 5 file is interrupted, so it will not be able to see the contents of the frame behind it. The protect.txt and variable &protect=1 can be named by readers according to their personal preferences.

Using the above methods can protect the text works, the image and Flash works also have some effect, with it can be very convenient to protect their works only on the designated site is viewed, and unauthorized Shang will only see "Please go to a certain site to watch the work", you can protect their works, and made a free advertisement, this is not very good?

Flash 5 to protect the work of the idea is very simple, I believe we will find other good way.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.