« Programmation Flex » : différence entre les versions
Contenu supprimé Contenu ajouté
Ligne 25 :
= Namespaces =
Default Prefix: mx
The legacy mxml language namespace used in previous versions of Flex. This namespace contains:
*xmlns:mx="library://ns.adobe.com/flex/mx"▼
▲:MXML natif
:language tags
▲*xmlns:fx="http://ns.adobe.com/mxml/2009"
:top level (built-in) types
:MXML depuis 2009▼
:mx components
*xmlns:s="library://ns.adobe.com/flex/spark"▼
:rpc
:data services
:charts
As a language namespace, this namespace affects the way flex parses and compiles MXML. Only one language namespace can be used in an MXML document at a time.
URI: http://ns.adobe.com/mxml/2009
Default Prefix: fx
The new mxml language namespace introduced as part of Gumbo. This namespace contains:
:language tags
:top level (built-in) types
:new Gumbo language tags
This is purely a language namespace, and does not contain component tags. As a language namespace, this namespace affects the way flex parses and compiles MXML. Only one language namespace can be used in an MXML document at a time.
*Halo
URI: library://ns.adobe.com/flex/halo
*Spark Components
Default Prefix: s
The new namespace for building spark based applications. This namespace contains:
:rpc
:data services
:spark
:TLF Text Framework
This namespace does not contain language tags, and must be used in conjunction with one of the mxml language namespaces.
*MX Components
Default Prefix: mx
The non-language-version-specific namespace for using MX components and classes in your application. This namespace contains:
:rpc
:data services
:mx components
:mx air classes
:charts
This namespace can be used to bring MX components and classes into your spark based applications, or to build MX applications using the new 2009 version of mxml. This namespace does not contain language tags, and must be used in conjunction with one of the mxml language namespaces
= Objectif du livre =
|