下载  >  开发技术  >  Actionscript  > flex4.6帮助文档

flex4.6帮助文档 评分

Adobe® Flex® Software Development Kit (SDK) includes the Flex framework (component class library) and Flex compiler, enabling you to freely develop and deploy Flex applications using an IDE of your choice.
Contents Chapter 1: Introduction to Flex 4.6 Getting started with Flex 4.6 Development tools for Flex 4.6 Migration Chapter 2: Getting started Developing applications in MXML MXML syntax ∴.,∴,21 Using Action Script Events ·· ,.54 SDK configuratie 96 Chapter 3: Application architecture Application development phases 100 Application structure ······ 107 Security ,117 Modular applications Developing and loading sub-applications ........... ,176 Flex ajax Bridge Communicating with the wrapper 226 Runtime Shared Libraries 253 Chapter 4: Building the user interface omponents 280 Data binding ∴.299 326 Laying out components 359 Application containers 393 Spark containers Custom Spark item renderers .............. 470 Spark list-based controls …514 Spark Data Grid and grid controls 545 MX layout containers ·着 ··· ··“““··· ·········; 574 MX navigator containers 628 UI Controls ,,643 Spark text controls 申··t 734 MX text controls 805 Using the Flex AIR component5∴,… 834 Dynamically repeating controls and containers .867 Chapter 5: Using data-driven Ul components Representing data Storing data∴. 889 Data providers and collections 898 Last updated 9/25/2015 USING FLE MX data-driven controls 943 Menu-based controls 985 MX item renderers and item editors 1006 Advanced data display with MX item editors Introduction to charts 1075 Formatting charts playing data and labels in charts 1246 Events and effects in charts ,,,1324 Advanced Data grid control APDatagrid control 1454 Chapter 6: Enhancing the Styles and themes ·· 1492 Fonts .1568 Skinning MX components ·: 1655 Embedding assets ,1699 FXG and MXML graphics Introduction to effects 1784 Spark effects ........ .1805 Using MX effects View state .1847 Transitions ..1870 rag and drop 1893 Chapter 7: Enhancing usability ToolTip controls 1933 Cursor Manager.............. ∴,,1959 Validating data ·· .1964 Formatting Data 2004 2037 Mirroring and bidirectional text 2067 Resource bundles ·······;· ,.2091 Accessible applications Chapter 8: Developer tools Building overview 申··t 2161 Flex compilers 2164 C ommand-line aggeR Logging 2222 ersioning ASDoc Last updated 9/25/2015 USING FLEX Chapter 9: Testing and automation Creating applications for testing .2270 Optimizing applications 2299 Improving startup performance ..... 2333 Ant tasks ····· 2343 Chapter 10: Custom components Custom Flex components ...2356 Custom Action Script components ∴,,,2363 Custom events 2369 Metadata tags in custom components 2376 Component compilation ∴,,,,2392 Simple mxml components 239 Advanced MXML components 2412 Create simple visual components in Action Script ··· t· 2433 Create advanced spark visual components in Action Script ,.2451 Create advanced MX visual components in Action Script 2475 Custom style properties ···“···““··“·:·, ....2501 Templa mponents Custom formatters 2513 Custom validate 2520 Custom effects .2525 Chapter 11: Deploying applications Deploying applications 2544 Creating a wrapp 2552 Last updated 9/25/2015 Chapter l: Introduction to Flex 4.6 Adobe Flex4.6 introduces new features and continues to build upon the major architectural changes in Flex 4 If you are a new flex developer, and have not previously developed applications in Flex, you can use the many available resources to learn more about Flex. For more information on the resources available for new Flex developers, see Getting started with Flex 4.6 on page 1 and What's new in Flex 4.6 SDK If you are an existing Flex developer, you can use the information inMigration on page 2 to decide how best to upgrade your applications to the newest SDK. Getting started with Flex 4.6 adobe and the flex developer community provide many resources that you can use to get started with Flex development. These resources are helpful for new users, and for experienced users seeking to increase their knowledge of flex The Flex developer Center contains many resources that you can help you start using Flex 4.6, including Getting Started articles, links and tutorials Samples of real applications built in Flex The Flex Cookbook, which contains answers to common coding problems Links to the Flex community and to other sites devoted to Flex As a new Flex user, there are other Adobe sites that you can also use to get familiar with Flex, including the following AdobeFlexinaWeekathttp://www.adobe.com/devnet/flex/videotraining/ FlexTestDriveathttp://www.adobe.com/devnet/flex/testdrive.html Flex video training at Adobe flex tv Features new for Flex 4.6 Flex 4.6 contains several new features, includin More Spark mobile components including: Split View Navigator, Callout Button, Callout, SpinnerList, Date Spinner, and Toggleswitch Better performance Updated platform support Enhanced Tooling- Flash Builder 4.6 Text Enhancements For more information on additional features, see what's new in flex 4.6 sdk and what's new in flash builder 4.6 Last updated 9/25/2015 USING FLEX Introduction to flex 4.6 Features new for flex 4.5 Flex 4.5 contains several new features, including Support for mobile applications More Spark UI components including: Image, Data Grid, and Form Integration with Flash Player's globalization classes RSL enhancements TLF 2.0 ·OSMF10 integration d formatters This list is a subset of the new features in Flex 4.5 SDK. for more information on additional features. see what's New in Flex 4.5 SDK. You can get more information about productivity enhancements in Flash Builder 4.5 at What's New in flash builder 4.5 Development tools for Flex 4.6 Flex developers typically use two development tools Adobe flash° Builder Flash Builderis an integrated development environment (IDE)for building cross-platform, rich Internet applications(RIAs). Using Flash Builder, you build applications that use the Adobe Flex framework, MXML Adobe Flash Player, Adobe AIR, Action Script 3.0, Adobe Live Cycle" Data Services ES, and the Adobe Flex Charting components. Flash Builder also includes testing, debugging, and profiling tools that lead to increased evels of productivity and effectiveness For more information on Flash Builder, see About Flash Builder. Adobe Flash Catalyst" Catalyst makes it easy for designers to create Flex-based RIA UIs from artwork imported from adobe Creative Suite tools, and to define interactions and behaviors within Catalyst The applications created in catalyst are Flex pplications. flash builder provides a simple workflow for importing these applications, which allows designers to collaborate with developers more easily than ever before For more information on Flash Catalyst, see About Flash Catalyst Migration If you are an existing Flex customer, you might migrate your existing applications from Flex 4 to Flex 4.6, oreven from Flex 3 For Flex 4 users, migrating to Flex 4.6 is relatively simple. The differences are largely cosmetic and are summarized ir Flex Backwards Compatibility Last updated 9/25/2015 USING FLEX Introduction to flex 4.6 For Flex 3 users, before starting the migration process, you should be aware of all new flex 4 and 4.6 features, and be familiar with changes to existing features. The greatest differences are from Flex 3 to Flex 4. For information on migrating applications from Flex 3 to Flex 4, see the a dobe flex 4 Features and Migration guideat http://www.adobe.com/go/learn_flex4_featuremigrate_en If you upgrade to a new version of flash Builder to take advantage of new features in the ide but do not want to use the new compiler features, you can downgrade the output application. You do this by setting the player- version compiler option. You can also select an older SDk to compile against. For more information, see" Backward compatibility on page 2239 Last updated 9/25/2015 Chapter 2 Getting started Developing applications in MXML MXML is an XML language that you use to lay out user interface components for applications built in Adobe Flex. You also use mxml to declaratively define nonvisual aspects of an application, such as access to server-side data sources and data bindings between user interface components and server-side data sources For information on MXML syntax, see"MXML syntax on page 21 About mXml You use two languages to write applications in Flex: MXML and ActionScript MXML is an XML markup language that you use to lay out user interface components. You also use mxml to declaratively define nonvisual aspects of an application, such as access to data sources on the server and data bindings between user interface components and data sources on the server Like HTML, MXMl provides tags that define user interfaces. MXML will seem very familiar if you have worked with HTML. However, MXML is more structured than HTML, and it provides a much richer tag set. For example, MXML includes tags for visual components such as data grids, trees, tab navigators, accordions, and menus, as well as nonvisual components that provide web service connections, data binding, and animation effects. You can also extend MXML with custom components that you reference as MXMl tags One of the biggest differences between MXML and HTML is that MXML-defined applications are compiled into SWF files and rendered by adobe' Flash Player or Adobe Air, which provides a richer and more dynamic user interface than page-based HTML applications You can write an MXMl application in a single file or in multiple files. MXML also supports custom components written in MXML and action Script files Using Spark and Mx component sets Flex defines two sets of components: MX and Spark. The MX component set was included in previous releases of Flex, and is defined in the mx. packages. The Spark component set is new for Flex 4 and is defined in the spark. packages The Spark components use a new architecture for skinning and have other advantages over the MX components. The MX and Spark component sets contain many of the same components. For example, both component sets defines a Button control, TextInput control, and List control. However, while you can use MX components to perform most of the same actions that you can perform by using the Spark components, Adobe recommends that you use the Spark components when possible Writing a simple application in MXML Because MXml files are ordinary XMl files, you have a wide choice of development environments. You can write MXML code in a simple text editor, a dedicated XML editor, or an integrated development environment(ide) that supports text editing. Flex supplies a dedicated IDE, called Adobe Flash Builder", that you can use to develop your pplications Last updated 9/25/2015 USING FLEY Getting started The following example shows a simple Hello World application that contains just an <s: Application> tag and three child tags, the <s: Panel> tag and the <s: Label> tags, plus a <s: layout> tag The <s: Application> tag defines the application container that is always the root tag of an application. The <s: Pane l> tag defines a Panel container that includes a title bar, a title, a status message, a border and a content area for its children The ss: label> tag represents a Label control, a very simple user interface component that displays text. <!--mxml\HellowWorld ss:Applicationxmins:ex-"http://ns.adobecom/mxm1/2009"1 xmlns: mx="library: //ns. adobe. com/flex/mx" xmlns: s="library: //ns. adobe. com/flex/spark"> s: layout> <s: Verticallayout/> </s: layout> <s: Panel title="My Application " <s: Label text="Hello World" fontWeight="bold" fontsize=24"/> </s:2ane⊥> ≤/s: Application> Save this code to a file named hello, mxml mxml filenames must end in a lowercase mxml file extension About XML encoding The first line of the document specifies an optional declaration of the XMl version. It is good practice to include encoding information that specifies how the MXMl file is encoded. Many editors let you select from a range of file encoding options On North American operating systems, ISO-8859-1 is the dominant encoding format, and most programs use that format by default. You can use the UTF-8 encoding format to ensure maximum platform compatibility. U'TF-8 provides a unique number for every character in a file, and it is platform-, program-,and language-independent If you specify an encoding format, it must match the file encoding you use. The following example shows an XML declaration tag that specifies the UTF-8 encoding format <?xml version="l0"encoding="utf-8"?> About the <s: Application> tag In addition to being the root tag of an application, the <s: Application> tag represents a Spark Application container A container is a user-interface component that contains other component sets, and uses layout rules for positioning its child components. By default, the Spark Application container lets that you set the position of its children. In the previous example, you set the layout of the container to Verticallayout so that the Application container automatically lays out its children in a vertical column You can nest other types of containers inside an Application container, such as the Panel container shown above,to position user interface components according to other rules. For more information, seeVisual components"on page 280 about namespaces In an XML document, tags are associated with a namespace. XMI namespaces let you refer to more than one set of XML tags in the same XMl document. The xmlns property in an MXML tag specifies an XML namespace In Flex, you typically define three namespaces xmins:fx="http://ns.adobe.com/mxm1/2009"Thenamespacefortop-levelActionscriptelementssuchas Object and array, and for tags built into the MXMl compiler, such as <fx: Script> miNs: mx="library: //ns. adobe. com/flex/mx The namespace for the MX component set Last updated 9/25/2015

...展开详情
所需积分/C币:11 上传时间:2018-06-05 资源大小:33.91MB
举报 举报 收藏 收藏
分享 分享
Flex4.0中文API

Flex中文API

立即下载
Flex 4.5 API

Flex 4.5 API 开发文档(网页版)

立即下载
flex4.5中文文档

flex4.5中文书籍,书中介绍了flex4.5移动开发,主要讲解了Iphone和Android上的Air开发及配置

立即下载
flex4.5 从浅入深 第一章 可视化组件.pdf 第二章 布局组件.pdf

flex4.5 从浅入深 第一章 可视化组件.pdf 第二章 布局组件.pdf,初学者的福音。

立即下载
flex4中文API帮助文档

flex4中文API帮助文档,很好用,我一般把Flex_4_docs\package-summary.html存为Api的首页用,大家可以根据自己的喜好使用。

立即下载
Flex4 经典帮助文档

NULL 博文链接:https://zhangrong108.iteye.com/blog/908592

立即下载
flex开发技术文档

NULL 博文链接:https://masw123.iteye.com/blog/1497094

立即下载
flex4.6简体中文下载地址及破解方法

flex4.6简体中文下载地址及破解方法,照做就是了。

立即下载
FLEX4.0开发文档

FLEX4.0开发文档,集成myeclipse开发工具。文档介绍了开发流程

立即下载
flex api的帮助文档

《用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考》包含 ActionScript 语言元素、核心库、组件包以及适用于 Flash Platform 中的工具、运行时、服务和服务器的类。 使用预设过滤器按产品进行过滤 此参考包含有关适用于下列 Adobe 产品和运行时的 ActionScript 语言元素和库的信息。单击下面某个产品名称可过滤此参考,以仅显示该产品的最新版本和相关运行时的内容:

立即下载
flex4官方最新中文API CHM版(part1)

flex4官方最新中文API CHM版,这只是第一部分 第二部分的地址在 http://download.csdn.net/source/2676058

立即下载