Chapter 26. Configuration, Internationalization, and Printing

To ensure that your applications are usable to the widest range of users, Flex 3 provides many accessibility, internationalization, and printing options. For example, if your project must comply with accessibility standards, you’ll find screen-reader detection and keyboard tab orders to help visually impaired users or users for whom the use of a pointing device is difficult or impossible. Flex’s tool set for internationalization and localization was much improved in Flex 3. New localization features include a built-in internationalization resource manager, runtime locale determination, runtime locale switching, and resource modules that can be requested at runtime. If your challenge is closer to home—you need printed deliverables—the latest version of Flex has that covered too. Flex 3 enables you to print Flex components and includes a data grid component specifically for printing repetitive, multipage output.

This chapter contains recipes that will walk you through formatting many kinds of output for printing, including a solution for formatting collections of components for printing across multiple pages by using PrintDataGrid with a custom item renderer. Recipes for displaying non-Western characters, detecting screen readers, and defining tab orders help make your applications more accessible to visually impaired users. Finally, several techniques for localizing applications are presented.

26.1. Add an International ...

Get Flex 3 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.