13-06-2005, 14:38
|
|
|
|
חבר מתאריך: 18.01.03
הודעות: 7,325
|
|
זה בגלל איך שהפלאש בנוי
את המסיכה ניתן לחשב מראש, את הטקסט הדינמי לא, ולכן לא ניתן לשים מסיכה על טקסט דינמי שאינו embedded. יש פתרון לבעיה באתר של מקרומדיה:
Flash TechNote
Text disappears in masked layer or when printed
Issue
Dynamic and input text fields may not be visible when used in a masked layer, or when printed from Macromedia Flash Player using the print command.
Reason
Only text fields whose font outlines have been embedded in a published SWF can be masked. By default, font outlines for dynamic and input text fields are not included in the published movie. For those types of fields, Macromedia Flash Player relies on the playback system to provide font information. These "device fonts", as they are called, cannot be masked since they are not embedded in the SWF. This issue does not affect static text fields whose font outlines, by default, are included in the published SWF.
Solution
To directly mask a dynamic or input text field, and to ensure proper printed output of that field, embed the font outlines for that field. In Macromedia Flash 5 this is done using the Text Options panel (see illustration below).
[התמונה הבאה מגיעה מקישור שלא מתחיל ב https ולכן לא הוטמעה בדף כדי לשמור על https תקין: http://www.macromedia.com/support/flash/ts/documents/maskprintembed/embed.gif]
In Macromedia Flash MX this is done using the character button of the Property inspector:
[התמונה הבאה מגיעה מקישור שלא מתחיל ב https ולכן לא הוטמעה בדף כדי לשמור על https תקין: http://www.macromedia.com/support/flash/ts/documents/maskprintembed/char_panel.gif]
You may embed either the entire font or only those characters you plan on using. Note : Masks may work with movie clips that contain a text field (in other words, the mask covers the clip) but it is not recommended practice, as the field in which the text is not embedded may not print.
Additional information
For more information on using fonts in Flash see Using fonts in Flash 5 and later (TechNote 15403) and Using fonts in Flash 4 (TechNote 14171).
_____________________________________
קפצתי לביקור
|