Hi all,
Boy is it hard to get information on AS3 - not Flex, not Flash - just AS3.
How can I embed multiple assets in one class? With Flex, you can
apparently do this:
.myPlainStyle {
fontFamily: "Myriad Web Pro";
fontSize: 24;
}
.myItalicStyle {
fontFamily: "Myriad Web Pro";
fontSize: 24;
fontStyle: italic;
}
.myBoldStyle {
fontFamily: "Myriad Web Pro";
fontSize: 24;
fontWeight: bold;
}
That takes 3 aspects of the same font and embeds them so you have
access to them. Nice.
I'm not using Flex, so my question is how can I achieve a similar
result using the Embed statement that is available in .as files?
Those typically look like this:
[Embed(systemFont='Trebuchet MS', fontName='Trebuchet MS',
mimeType='application/x-font')]
I'd like to be able to include the bold and italic outlines for that one font...
I can't find any documentation on this that isn't mxml!
Thanks,
--
Jim Kremens
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com