Creating custom namespace
Where ‘views’ is a folder/component path (namespace path) and ‘appCom’ is a namespace object and ‘StateComboBox’ is a component file.
<!-- Use the filename as the MXML tag name. -->
<mx:WindowedApplication xmlns:appCom="views.*"…….
….
….
<appCom:StateComboBox/>
In flex the default namespace is xmlns:mx="http://www.adobe.com/2006/mxml" (where mx is a namespace object and it has a uri as above url and we can use that mx namespace object as this way –
<mx:State name="welcome">
<mx:VBox horizontalGap="0” verticalScrollPolicy="off" id="vbox1">
<mx:Label styleName="infoHead" id="infoHead" width="220"/>
Where ‘views’ is a folder/component path (namespace path) and ‘appCom’ is a namespace object and ‘StateComboBox’ is a component file.
<!-- Use the filename as the MXML tag name. -->
<mx:WindowedApplication xmlns:appCom="views.*"…….
….
….
<appCom:StateComboBox/>
In flex the default namespace is xmlns:mx="http://www.adobe.com/2006/mxml" (where mx is a namespace object and it has a uri as above url and we can use that mx namespace object as this way –
<mx:State name="welcome">
<mx:VBox horizontalGap="0” verticalScrollPolicy="off" id="vbox1">
<mx:Label styleName="infoHead" id="infoHead" width="220"/>





