[Embed(source=‘C:\WINDOWS\Fonts\FONT.ttf’, fontName=“Font”, mimeType=“application/x-font-truetype”)]
Can it be possible to pass source parameter as a external string.
i.e.
var fontType:String = C:\WINDOWS\Fonts\FONT.ttf;
[Embed(source=fontType, fontName=“Font”, mimeType=“application/x-font-truetype”)]
Any way to achieve this? Any help is appreciated.