Personalize my Flash

Source: Internet
Author: User

Today, someone asked how to use reshacker. Exactly. Something was done a while ago. Accumulated experience.
Write it out and share it with cainiao. Do not laugh at me...

I. Preparations before changing files

Make the Flash file to be changed into an exe file. Everyone should be there. No nonsense.

2. Change the icon

Run reshacker. Open files in sequence: open files> select the files created in flash.

Click "operation"> "replace ".
In the displayed dialog box, click open new icon file...-> select a ready ico icon. You can also select an existing exe or dll file.
The corresponding icon selection will appear in the list below. Some exe or dll files contain many icons. You can click the serial number to select.
.

Then, select the icon to be replaced in the list of icons to be replaced.
Click "replace ".

Save the settings. Sometimes the icon cannot be correctly displayed. At this time, refresh and take a look. Has the icon of the exe file changed?

3. personalized resources

The sub-keys correspond to the following resources:

401 about.
403 open.
602 menu
604 right-click menu
601 right-click the text option menu (copy, cut, and paste)
613 open. Copy Link

There are nine corresponding key values in the options of the menu and the dialog box.
They are the types of corresponding languages.

The penultimate subkey of each key value is "Chinese.
We can change the Chinese character.
After the changes are completed, click "compile script". Then save and open the file to see the effect. Isn't it easy?

Personalized dialog box:

Expand the directory tree, and click 401> 2052. The visual resource editing page is displayed.
Edit text in the visualization window: Right-click the text to be edited and select "Edit Control" in the pop-up dialog box"
The control editor will pop up. The title is what we want to change. Next we will change it to: My personalized Flash
In the following style options, the selected format is yellow, for example, Center, Center, right, sag, gray, and so on...

If you only want to use one line of text, you can select other words. Press del to delete other words.
What should I do if I want to wrap a line?
The person who writes the program should know. Just type \ n in the text.
If you want to edit the title of this dialog box, right-click in the blank area of this dialog box. Edit dialog box
Then you must compile the script and save it. Then run your program. Can you see if it has changed?

What should I do if I don't want any extra menu?
I mean: I only want a button in a menu with only one dialog box and one closed button.
Implementation Method:

Copy the bottom
MENUITEM "my personality only.", 20017
To
POPUP "I Love You "{}
And delete other code. The final code is

602 MENU
LANGUAGE LANG_CHINESE, 0x2
{
POPUP "I love you"
{
MENUITEM "my personality only.", 20017
MENUITEM SEPARATOR
MENUITEM "exit (& X) \ tCtrl + Q", 20007
}
}

In this way, this effect is achieved.

After talking for a long time, how can I change the title of the entire program?
Haha .. I almost forgot.

The secret to change the title is in the string table:

String table 1
2, "Macromedia Flash Player 7" // Title of the Player for this behavior,
3, "Macromedia Flash movie (*. swf) | *. swf ;*. spl | all files (*. *) | *. * | "// The default file type supported by the player
4, "Player (*. exe) | *. exe |" // create the file type exported by the player

String table 2
104, "a script in the video causes Macromedia Flash Player 7 to speed down. If you continue running, the computer will not respond for a while. Do you want to terminate this script? "
// Prompt before the Action Script in Flash is run and the computer does not respond
105, "Macromedia Flash Player 7" // the title of this dialog box for this row

4. Write version information.

The version information of the following code. You only need to change the value in the corresponding "". I will not demonstrate it.

VALUE "CompanyName", "Macromedia, Inc ."
// Company
VALUE "FileDescription", "Macromedia Flash Player 7.0 r14"
// Description
VALUE "FileVersion", "7,0, 14,0"
// File version
VALUE "InternalName", "Macromedia Flash Player 7.0"
// Internal name
VALUE "LegalCopyright", "Copyright? 1996-2003 Macromedia, Inc ."
// Copyright
VALUE "LegalTrademarks", "Macromedia Flash Player"
// Valid Trademark
VALUE "OriginalFilename", "SAFlashPlayer.exe"
// Source file name
VALUE "ProductName", "Shockwave Flash"
// Product Name
VALUE "ProductVersion", "7,0, 14,0"
// Product version

There are so many basic personalized features.
More personalized methods also need to be considered by everyone.
Well, I don't know if you can understand it for a long time.
Although some software can make Flash into an exe file. However, most of these software does not have the function of creating the dialog box and menu.
If you want to write some sweet words to MM, it will pop up in the form of a dialog box. How can we not make MM happy?

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.