Flash on the font characters embedded components and functions explain
======== ======== Part 1
One of the advantages of flash is that it can use a variety of fonts, and the traditional use of a variety of non-HTML to the system default font only two ways
1, is a special fonts embedded in the browser Unfortunately, this feature not only enormous volume and for all browser is not applicable. (English fonts inverted but only about 100 K to Chinese fonts are at least more than 1 M) such an approach for the Chinese, obviously it is unrealistic
2, is used by the local special fonts are made picture, the benefits of this platform is the browser displays any effects are consistent. But weaknesses are apparent, the first revision is not easy, even the most subtle changes also need to use specialized graphics editing software to modify, very troublesome. And can not use too many fonts, as will be extremely huge picture than by the needs of embedded font size they are.
Flash no more than any issue, when you enter any fonts (including system font) in the export to SWF format time will be automatically converted into graphic, that is, in any platform display are the same, and whether he is not installed such installation fonts. And the time to be amended to modify any of the same simple text documents. With the increase in number of words, the document will eventually swf greater. But this increase in the nested in the HTML fonts frequently need a few M is nothing compared to the size of the. And has nothing to do with the platform and display.
However, the characteristics and advantages of flash is small, add a word more on increasing the size of a few hundred bytes, which is not flash, is intolerable. So flash provides more functions to swf files more compact. Below, I will detail the flash on the font characters embedded components and functions of the advantages, disadvantages and scope of application.
First, flash "use of equipment fonts," a feature in the text, attributes. Effective only static text, as has already been said, the importation of any text will be automatically converted to flash pictures, so the advantage of any platform any browser effect unanimously disadvantage is that the increase of one word will increase the size of the final document swf . If you enter a section of the text, and then choose the property, the use of equipment fonts. Then flash you will not enter the font into graphics, so no matter how much you write the word on the size of swf not much. But when others swf files opened this time in the system will first check whether you have entered the font, if you had indicated that the importation of fonts. This appears in the local machine told you to edit the effect of the same. But if visitors do not have machines when you enter the font, then swf will be used to the system used by the default font to display as just results. . . Fatalistic bar. Such an arrangement suitable for that under normal circumstances surfers in the system fonts are available, even if surfers do not have this font can be shown to the word. But it can not predict results.
Now talk about dynamic characters embedded in the text of the function, text settings or enter into dynamic text characters embedded in the text will appear this feature. This is the function of the choice of characters will be loaded onto swf files, such dynamic characters loading into or enter the characters you when it will become embedded in the original font. For example, when you enter the words written by the use of simplified bold, point their character attributes embedded options, select the designated area there are very many languages, the characters of your choice and enter the type of the language - here Simplified Chinese, points identified. This kind of thing is you Simplified package blackbody embedded in the flash file, when loaded dynamic text of this area is shown in boldface type. This will give the final document swf increase more than 1 M (according to the specific size of the font size to decide, it certainly English than Chinese to a small number). After testing nested into the static text font as effective. For example, here nested into the Simplified blackbody, so you import a large number of static Simplified blackbody the swf documents before disposal is only an increase of only a few hundred bytes. (Do not choose equipment fonts)
If you enter the embedded Traditional Simplified has chosen, then all the same with Simplified not the traditional way is not shown, only more simplified wording of the same show will be traditional. Another option embedded character is automatically filled. He will automatically turn your written words embedded into the only embedded in the words, so the final document will be much smaller size. The drawbacks of doing so, for example, when you enter the "you fool", and then choose to automatically filled, automatic filling of the left shows "you fool", of course, here you can add or remove their own words, for example, to delete " fool "This is the remaining" You are ', the final choice determined. identified so that you only word embedded in a flash. you had created "you idiot" would only show that "you" will not be any other characters show and if the text input can only enter "you", the importation of other characters are null and void.
Font said the next component, the use of fonts components is open for the F11, the left mouse button at the right of the file name button, a menu appears, select the new font. This time will pop up a font attributes box set. Name should not play a meaningful name from the font name, such as "headline text." Then you will be to use the font, we should pay attention to here is the sawtooth options (will be mentioned below) after a good choice, you can see more in the font selection to a new font file name is the name of the font. Because we started to build the font element named title text, so here is called "headline text *" choose to use this font, a good choice after two ways you can use this feature to good use.
The second piece ======== ========
A document directly on the flash, it will not affect flash file size, the paper told ordinary flash, flash default font will be converted into graphics, you can set up a system font. Business as usual, the only difference is that when you change fonts, font when components can be directly replaced. For example, all you have are 10 lines of text, but that was later replaced by a better look at the trend, you can change the font attributes components (change the way is open, select fonts components points mouse right button and select Properties) 10 lines into boldface type. As a result of all components used text font changed all blackbody (If you do not think the use of this function, it would amend painful).
Method 2 with a first step, all Longwan, select fonts components, select links. (Open library, choose font components points mouse right button and select links) choice "for running into sharing" After you fill in the URL will be used in a swf file paths relative can be used can also use the absolute path (if the same Folders can be as the "font. swf") identifier on the direct use of the names of fonts components
The second step, one with the same method, but only is the establishment of a specialized font components swf file. Choice link (the open, select fonts components points mouse right button and select links), select "Export share for running" in the URL in the last step in completing the write path. (Step is about "character. Swf") identifier also keep up with the step of the same font name components. And then export to swf file. You will find more documents (If we had chosen the jagged text font swf this will increase the size of the document (under what circumstances the use of this BLOG Sawtooth see related article)). But no big point, this is only one of the documents cited, as if the fonts are on the way here when a document created when there is a need to find from inside. If this is the case from what to what, a method established by the file size will be very small, so small that incredible proportions. You good things. And, as the first document to establish what kind of change fonts only need to change the method of establishing two components of the document font attributes. This is like the first step to establish the swf document is the second step established swf shortcut to a file the same. The second step is the establishment of the swf documents cited, the actual things in the second step of the establishment of the swf file containing it.
Next ======== ========
Flash components in the font, can be invoked in a number of swf. Swf works, that is to say, you can use a variety of components used fonts of different fonts external components package. However, a "quote" paper bag swf fonts, a font can only be stored and then packaged. Otherwise they will be in error
Tags: Font, Font Family, Font Size, Font Style, Font Variant, Font Weight






Leave a Reply