flex - Flash datagrid text and masking problem? -
I am using AS3, I have a problem displaying datagrids. If the data displayed below the mask is not grid text, then if I put it outside the mask, the data will be visible. How do I show data grid text / data inside a mask layer?
A mask that is not displayed in system fonts. You need to embed your font The easiest way to do this is through a CSS file. The first example below shows how to embed a TrueType font. The second example shows how to embed non-true type fonts in Flash, then refer to the SFF file as a result.
@ font-face {src: url (../fonts/ MyriadWebPro.ttf); FontFamily: myriadPro; } @ Font-face {src: url ("../fonts/ embededFonts.swf"); FontFamily: "Myriad Pro"; font-weight: bold; }
Comments
Post a Comment