If you use SDK 4.x and you want to display embeded font in MX component (e.g. mx:Text) but your text probably will not appear. It is caused by the new Flash Text Engine. There are two solutions to this problem: » Read more: Embedding fonts with MX components
Archive for the ‘Flex Architecures’ category
Embedding fonts with MX components
July 23rd, 2011How to set hand cursor for a component in a skin?
July 19th, 2011If you want to set hand cursor for a component in its skin you will probably try to add buttonMode = “true” in a root tag of the skin. But it won’t work. To make it happen you need to set buttonMode property by reference to a host component:
{
hostComponent.buttonMode = true;
}
In order to make hand cursor appear for some components you may also need to set other properties like useHandCursor or mouseChildren.
Lista z płynnym przewijaniem
January 8th, 2010W tym przykładzie pokażę jak zbudować listę z płynnym przewijaniem (scrollem). Pisząc jedną z aplikacji musiałem użyć listy do wyświetlania obrazków o dużej wysokości. Niestety przewijanie w liście działa skokowo, tzn. przesuwając suwak, lista przeskakuje do kolejnych elementów.
» Read more: Lista z płynnym przewijaniem