Hello guys
I’m embedding a font at runtime with flex, using the following syntax:
[Embed(source='./Regular.ttf', fontFamily="Arial", fontName="Arial", fontWeight="normal", mimeType='application/x-font')]
public var Regular:Class;
I want this to be optional such that if this TTF file unexists at the specified location, then it can just be skipped and Regular takes a value of null.
How can I achieve this?