flex

http://www.adobe.com/devnet/flex/testdrive.html

http://www.adobe.com/devnet/flex/testdrive.html

1424-4938-3077-5736-3940-5640
1424-4827-8874-7387-0243-7331

Controls:

UI components like TextInput,Button,DataGrid,DropDownList

Containers:

Hold content:Controls and othr containers

used to layout an application

May have a visual display

Tour de Flex

ctrl + space show the hint

MX components:

each contains behavior, layout, styles and skin

Spark components:

separates behavior,layout,styles and skin into different classes

default id=contentGroup, titleDisplay

The Flex Framework provides two sets of containers:MX and Spark.

Spark: offers a level of abstraction between containers and layouts not available in the MX architecture.are separated from layout managemnt and allow for a develope to specify layouts available in the spark,layouts package or create custom LayoutBase-based layouts to manage the size and position of child elements.

MX container:manage the size and position of its children based on specified properties and styles.To modify the layout rules of a MX container class,you often create a subclass of a similar container or the base mx.core.Container class and override methods such as updateDisplayList() and measure().

Three primary approaches to data retrieval

1. HTTPService- http get and post opertions

2.webservice- soap/wsdl operations

3.RemoteObject- remote object connections using AMF

the MXML compiler,also called mxmlc,is the application that compilers ActionScript and MXML files into a SWF file that can be viewed in the Flash Player.When you run or debug a Flex application in Flash Builder, the MXML compiler is invoked and the files are passed to the compiler as an argument to the application.

 

posted on 2013-02-08 15:57  lauraxia  阅读(171)  评论(0编辑  收藏  举报

导航