Rule 1 Use symbols.
In Flash, the concept of symbols is very important. Using symbols can double the size of the SWF file, because Flash will only load a prototype of the repeated symbol, and when a copy of the symbol appears in the movie, it will become a doppelganger of the prototype. Each doppelganger can have its own attributes, but the animated entity of the doppelganger is consistent with the prototype. Doing so can not only effectively reduce the weight of the film, but also greatly help large-scale animation design and reduce the workload. Among these symbols, movie clips occupy the least space. If you don't believe me, you can import the same pictures into movie clips and graphic symbols for testing.
Rule 2 uses fewer keyframes.
Practice has proved that the space occupied by key frames in Flash is different from that of ordinary frames, so it is also an effective way to lose weight by using key frames as little as possible in Flash. But sometimes we have to make a large number of key frames to meet the requirements of the film, so you can understand that we should minimize the import of gif animation or SWF animation in the film, because the imported animation will appear frame by frame in the film production process.
Rule 3: Use less deformation animation.
Deformation is also commonly known as shape animation. In Flash animation, shape animation and action animation are two forms of animation. In contrast, shape animation takes up more space and should be avoided as much as possible.
Rule 4 compress sound files
Multimedia is inseparable from sound, of course, but sound also occupies the most space in the film. It is very necessary to compress sound effectively. Open the sound panel and select the edit function. At the bottom of the opened sound properties dialog box, we can see that Flash has prepared a variety of compression methods for us.
There are several sound compression methods and compression methods such as sampling rate and bit depth, and Flash will also dynamically prompt the compressed capacity. It is recommended to use MP3 mode or ADPCM mode, because MP3 will get a higher compression ratio, and then compress the sampling rate and bit depth until it is satisfactory.
Rule 5 uses vector diagrams.
In the process of animation, try to use vector diagrams with simple lines and avoid bitmaps. Because bitmaps usually take up more space than vector maps. If you must use a bitmap, you can also use the Modify \ Trace Bitmap command in the menu to convert the bitmap into a vector diagram.
The function is very simple, as long as you are familiar with English or use translation software.
Rule 6 uses built-in fonts.
Personally, I think Flash is not good at dealing with characters. When outputting animation, Flash will output all characters according to the graphics, especially when using special fonts. One way to make Flash output text is to use Flash's built-in fonts. In this way, Flash will not output the text as graphics for processing. Select the item "Use device fonts" in the Text Options panel to complete the output in the form of built-in fonts. There are three built-in fonts * * *. As long as you choose these three fonts, it will be of great help to the file size.
Rule 7 sets the image at the time of output.
Setting when the file is output can be said to be the best way to reduce the volume. The most effective way to lose weight is to choose File \ from the menu, and set the image quality in the Flash tab.