Embed Fonts Flash

/ Published in: ActionScript 3
Save to your folder(s)

note t0 self - place inside class declaration with vars
- include Flex SDK swc (flash CS4)

Copy this code and paste it in your HTML
  1. [Embed( source="../assets/FONTS.swf", fontFamily="Myriad Roman" )]
  2. public static var MyriadRoman:Class;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.