We show how to use the new AS3 text layout classes: TextFlow, ContainerController, TextLayoutFormat, and properties like TextFlow.flowComposer to lay out and format text programmatically. In our example, the number of columns in the layout can be changed on the fly by dragging a slider. Click the screenshot to open Flash movie. Download Multicolumn Text on the Fly with New AS3 TLF Text Classes in Flash CS5
May 4, 2011 We added two additional samples to the gallery. A clock face powered by CircleLayout. FlexLayouts
Spark layouts with Flex 4 As with most other features of the new Spark architecture, the new layouts are in fact based on the already powerful MX layout system. Flex 3 developers will feel at home with the general execution flow, APIs, and layout logic. However, there are also a number of additions and changes that are driven by the Spark goal of more modular design. Common characteristics
Flex Layout – Types de Containers (Canvas, Form, Box, Grid …) « Adobe Flex Tutorial Chaque type de conteneur présent dans le framework Flex a un ensemble de règles qui définissent la manière dont il arrange ses children. Flex utilise ces règles pour mesurer l’espace disponible pour les enfants, et pour décider où les enfants sont positionnés. Un conteneur VBox, par exemple, arrange ses children de manière verticale, en plaçant chaque item par ligne. De manière similaire, un conteneur HBox arrange ses enfants de manières horizontale. Chaque conteneur a été conçu pour un usage spécifique.
One of my favorite things about Flex 4 is that it now includes the Text Layout Framework (TLF) as the basis of many Spark text components such as RichText, RichEditableText, TextArea, and TextInput as well as any other components that utilize any of these as part of another component, such as the ComboBox, which includes a TextInput control for example. You now have fine-grained control over text and text flow and can do some really amazing things with your UIs. This framework is extensive and I recently took some time to go through it all while building samples for Tour de Flex. I’d like to share some information I gathered while doing so. The Text Layout Framework is included in Flex 4 via the textLayout.swc. This swc contains three combined SWC’s including: • textLayout_core • textLayout_conversion • textLayout_edit Flex 4 and the Text Layout Framework | Devgirls Weblog