flex

Embedding fonts in Adobe Flex

I just solved a problem that I have been fighting for many hours and generated a lot of frustration. The solution was quite simple, but it proved difficult to identify the problem.
When you need to embed a font in Adobe Flex, you do so by adding something like this in the css:

@font-face {
[...]


Regular expressions Flex explorer

In my quest to get one of the regular expressions for RegExpValidator, I found this phenomenal explorer of regular expressions created by Ryan Swanson. Amazing work!
Thanks for sharing it!


Validate hostname with RegExpValidator in Flex

I spent quite some time trying to get this working. The documentation available for RegExpValidator is not very extensive just to put it in a nice way.
All I needed to do is validate a string to verify if it follows the pattern of a hostname.
After much work and research I finally narrowed it down and [...]


Flex binding tip when adding components dynamically

Today I was developing this UI using Flex where a panel is added as a child dynamically. Inside the Panel there is a form with a series of input elements, and I use Binding to put back the changes of an Input component into the object that originally had the text.
A weird problem occured: The [...]