Flash 5 of 10 tricks

Source: Internet
Author: User
Tags html page dreamweaver
The author found that many enthusiasts, although they can make good flash animation, but they do not have a deep understanding of the software itself. Some art professionals, and sometimes fear of flash in the Action Code section. Now take Flash 5 as an example to talk about some of the more advanced techniques and tips of flash 5. Because the author is a see code on the headache, so I have the same friend please rest assured that this article does not involve action skills.

1. Advanced Application of Mask
A deep understanding of the Mask (MASK) can produce some cool effects. For example: the static text as a masking film, moving the small pattern of the gradient as a masked, it can display the flow effect of the small pattern in the outline of the text; the blocks of text are kept still, and the irregular shade gradually expands to make the text produce an irregular effect; a block of text that produces a moving gradient as a masking piece, Using a consistent color with the background of the asymptotic color block for show masking, can make the text block a fade in the dim effect ... There are many more, it depends on your imagination and creativity.

2. Vectorization of bitmaps and simplification of vector graphs
The capacity of the vector graph is small, enlarge without distortion, the application in Flash has incomparable advantage. Many software can convert bitmaps to vector graphs, but in fact Flash 5 has provided a simple and efficient way to convert bitmaps to vector graphs.
First press "Ctrl+r" to import the bitmap you want to convert, select menu: Modify>trace Bitmap. In the dialog box that pops up, the "Color" and "Minimum area" set the lower, the latter two sets more closely, the more the rotation (that is, the Drop-down menu more bias before the option), the resulting graphics file will be larger, the more refined the screen. For the node complex vector graph, can press "ctrl+alt+shift+c" key to optimize, can greatly reduce the picture capacity.

3. Hide the Flash right-click menu in Browser
In the browser with the right mouse click Flash Animation, pop-up drop-down menu, you do not feel very annoying? get rid of it! This is easy to do in Flash 5. Press CTRL+SHIFT+F12 to eject the "Publish Settings" dialog box, select "Percent" in the "Dimensions" drop-down box, uncheck "Display menu", and then publish it. However, note that only in the HTML page will be effective, the Flash file alone will not play a role. This effect in Flash 3 will be implemented with aftershock. In addition, if you insert a Flash file with Dreamweaver, you can also choose to implement this feature in the Flash property box.

4. Precise control of deformation
In the two objects between the "shape" deformation, is not sometimes a strange feeling, feel in the chaos, not soft changes. In fact, as long as the careful treatment of the line: Select the "shape" deformation of the first frame, press "ctrl+h" can be added to a deformation keyframe, while the final frame of the deformation will also synchronize the corresponding keyframe. By selecting the number of keyframes and adjusting the location of keyframes, you can achieve precise deformations, just as cool as a liquid metal man in the movie "Warriors of the future."

5. Editing techniques for sound effects
In Flash 5 The tenor can be edited, won't it? But it's a fact, and it's simple, and it's not weak. In the "Sound" option of the Frame Properties dialog box, drag the small square, you can achieve the sound effects of the volume size, fade out, and so on, everything is so simple.

6. Switch to control background music
The use of Flash 5 to provide the ordinary turn off music function, it is difficult to click a button to be able to control the effect of music. So what's the secret here? In fact, the method is very simple. First make a "music control switch" of "Movie Clip", place two of the same buttons in different shadow frames, then use the action of the button to toggle the two shadow frames, one shadow frame to place the background music, and set the music to "Start", and the other shadow frame to place the background music, But set the music to "Stop". The specific action I will not say, because I pre-announced. But I think, as a flash enthusiasts, this action is essential.

7. Output gif, AVI and MOV problems
Some enthusiasts like to use flash GIF animation, or for other uses, need to convert to AVI or MOV format. But sometimes found that many animation information is lost without cause, the reason is the Flash animation application of movie Clip. To be precise, this is not a skill, but it tends to confuse some beginners. There is only one fundamental solution, and that is not to use movie Clip in animation. Of course you don't expect the generated GIF, AVI, or MOV animations to support the SWF file interaction.

8. Transparent and borderless processing of flash animations in Web pages
Can flash animations be as transparent as GIF animations? Can ordinary HTML page content overlap with flash animations? The answer is yes, it's easy to do in Flash 5. Press "CTRL+SHIFT+F12" to eject the "Publish Settings" dialog box and select "Transparent windowless" in the "Window mode" drop-down box. Note, however, that the effect is added to the HTML page, and not the Flash file itself has this attribute. Just imagine that you can easily add a flash animation background to your Web page, with sound, and how cool it is. Its compatibility is extremely strong, even if the viewer does not have F1ash playback plugin will not affect the visual effect of the page (just do not show flash files, there will be no blank areas or icons). From this flash can be completely fused with the HTML page, the Web page revolution has arrived!

9. Sunflower Movement
If you want to do a sunflower, around the sun for circular motion. You might think it's simple: don't you just let a sunflower follow a round wire (Guide) as a motion? But what if the sunflower rotates and its flowers always turn toward the center of the sun? It's also very simple: in the Frame Properties dialog box, the Tweening "Orient to Path Direction" can be selected. Flexible use of this method, can produce a lot of unexpected effects.

10. How to determine whether the viewer has installed a plug-in to support Flash, and provide installation methods
The easiest way to do this is to use Dreamweaver to write HTML, and when inserting a flash file, it automatically inserts a code into the Web page. When the user does not have the Flash plugin installed, it automatically downloads to the specified location of the Macmmedia. However, the site server is often busier and you can use "Check Plugin" in behavior to specify any "URL" download.

This does not seem to be a f1ash application technique, but it is crucial. You know, there are still 30%-40% PCs in China that don't have flash players installed!

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.