|
|
|
|
 |
|
|
|
|
The entire Flex application can also be developed in a single MXML file. This file consists of both your MXML code supported by ActionScript code. With the increase in the size of the application the single file also increases both in size and complexity.
Such an application would soon grow up to understand and debug. At the same it also becomes difficult for more than one developer to work on it simultaneously. At this situation developers need to create custom components.
Components are basically the breakups of entire application/functionality existing in different files.
<!-- Use the filename as the MXML tag name. --> <mx:Application xmlns:appCom="views.*"……. …. …. <appCom:StateComboBox/> Here ‘StateComboBox’ is a custom component.
|
|
|
|
|
|
|
|
| |
|
|
| |
| |
|
|
|
|