Archives

Archive by

The new text engine in Flash Player 10 and AIR 1.5, the Text Layout Framework delivers multi-lingual, print-quality typography for the web, including support for:

Nov 30th, 2010 | Filed under Flex4, RichEditableText, TextLayout

Following example show XML to XMLListCollection From XML Class

XMLToCollection3.mxml

Nov 30th, 2010 | Filed under DataGrid, Flex3, Flex4, XML, XMLList, XMLListCollection

The ComboBox control is a child class of the DropDownListBase control. Like the DropDownList control, when the user selects an item from the drop-down list in the ComboBox control, the data item appears in the prompt area of the control.

Nov 30th, 2010 | Filed under ArrayCollection, AutoComplete, ComboBox, DataGrid, Flex4, Value Object

Following  example use PopUpManager to PopUp a TitleWindow with Image and Label.Depend on wich image dispatch MouseMove event.

Nov 30th, 2010 | Filed under Event, Flex3, Flex4, Image, PopUpManager, RollOut, RollOver, TitleWindow

Fllowing example show how use event bubbing to change parent backgroundColor

Nov 30th, 2010 | Filed under Event, Flex Event, Flex4

Following example show XML to ArrayList use Model

XMLToCollection2.mxml

Nov 30th, 2010 | Filed under ArrayList, DataGrid, Flex3, Flex4, Model, XML

This is equivalent to the addEventListener() method in the previous code example. However, it is best practice to use the addEventListener() method. This method gives you greater control over the event by letting you configure the priority and capturing settings, and use event constants. In addition, if you use addEventListener() to add an event handler, you can use removeEventListener() to remove the handler when you no longer need it. If you add an event handler inline, you cannot call removeEventListener() on that handler.

Nov 30th, 2010 | Filed under Event, Flex Event, Flex4

Following example show how Flex4  font Embed (The src property specifies the file path location of a font. In Flex 4, you cannot embed a font by its local name only.) and use Rotate3D make effect like “Star War”.

Nov 30th, 2010 | Filed under Flex4, Rotate3D, Scroller, verticalScrollPolicy

Following example show how use spark list become to VerticalList.

MyList.mxml

Nov 30th, 2010 | Filed under ArrayCollection, Flex4, Image

Following example show how spark ComboBox setting prompt and disable editable.

Nov 30th, 2010 | Filed under ArrayList, ComboBox, Flex4

Following example show how use  flowComposer.addController control image and text,and interactionManager ( with undo and redo)

Nov 30th, 2010 | Filed under Flex4, Image, RichEditableText, RichText, TextFlow, TextLayout, redo, undo

Following example show Tree with itemRenderer and use disclosureOpenIcon ,disclosureClosedIcon,folderOpenIcon and folderClosedIcon,defaultLeafIcon change Tree view.

comp/MyTreeItem.mxml

Nov 30th, 2010 | Filed under Flex4