Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to mask a dynamic text field

Community Beginner ,
Apr 09, 2009 Apr 09, 2009

hi

Any one know,  how to mask a dynamic text field .

Thanks & Regards,

Ayathas

TOPICS
ActionScript
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 09, 2009 Apr 09, 2009

Ayathas,

     Masking a text field is no different from masking a graphic symbol, move clip, or anything else -- but there's one thing to keep in mind:  if your text field is dynamic, you'll have to embed font outlines for that text field in order to properly see the effect.  The embed button is located in the Property inspector when a dynamic text field is selected.  Depending of the version of Flash, this button will be labeled "Embed" or "Character Embedding".

David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/dpsFoundationFlashCS3
"Luck is the residue of good design."

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2009 Apr 09, 2009

thanks for ur reply,

but my textbox loads characters like chinese, japanese and korean. when i embed these font it will increase in size.

suggestion pls

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 09, 2009 Apr 09, 2009
LATEST

Ayathas,

     Dynamic text fields have certain properties, and the one I described is simply a fact of life.  If you want to mask dynamic text (or rotate it, or flip it, etc.), its font outlines must be embedded.  True, embedding font outlines increases the file size.  Generally speaking, the more complex the font, the more the SWF weighs.  I'm not familiar with Asian fonts, so things might well be different, but in Latin fonts (English, many European languages, etc.), it's possible to embed only numerals, or only uppercase/lowercase, or only punctuation -- in other words, a subset of the full font -- which greatly reduces the potential file size increase.  Again, I'm not sure how feasible this is for Asian fonts, but it's worth a try!

David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines