ActionScript

Embedding fonts in Flex

This post is a tutorial about how to embed fonts in Flex. Enjoy it and you may also want to take a look at another text that gives a good base to this topic:
Different languages and fonts

Introduction

With Flex you can create an ActionScript class that serves only as a font repository. You can also set the unicode range choosing which character set you want, this way it isn’t necessary to embed the entire font and the size of the swf decreases.

Embedding fonts in Flash

This post is a tutorial about how to embed fonts in Flash. Enjoy it and you may also want to take a look at another text that gives a good base to this topic:

Different languages and fonts

The possibilities

To embed a font in Flash you can chose between adding only one character set into a specific text box or including an entire font in the library.

Making of Carvalhar.com

The structure of my site is all in Drupal and it’s with this CMS that I add and edit posts, coordinate comments, tags and control the indexing on Google. Also the presentation is all in Flash and Flex, which is a framework made in ActionScript for optimizing the production, simplifying complex things as modular structure, localization and internationalization used in a web application.

Tools to display complex data

Data visualization is a new field that allows displaying a set of information in a visual and interactive form. In principle, any programming language that run on client can build these visualizations, but this post covers three alternatives, in ActionScript (Flex / Flash), Java and JavaScript.

This article is more technical about the existing technologies, for an introductory article about this subject, read the post "Data visualization".

Different languages and fonts

When working in Flash/Flex with idioms that have characters others than those that exist in english you'll need to work a little more. Whatever it is, a so different idiom as japanese, with its three distinct alphabets,  or only to include accentuation in latin languages.

When you create a swf, Flash or Flex automatically embed the characters of your static text with the font you choose, increasing the size of your final file. However, when you use dynamic text (coming from database, XML, user's input or rotated and deformed text) the problem with alphabets appears.

Flex: a profile

I'm very excited about flex and the possibility of him interact (even being a complicated way) with swf done in Flash. As I began in Flash, I felt a bit out of water in Flex, but now I have a little know-how and decided to post some tips for those who are thinking about migration, or to explore, or to know exactly what is Flex.

Syndicate content