A classic example occurs for external MXML components :
xml 代码
- <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" pageTitle="FlexGala - Author : Marco Casario" xmlns:myComp="myFolder.*" >
- <myComp:MyComFile id="myCmp" />
When you need to refer just to a single invocation of an Actionscript class I prefer to use the xmlns attribute directly inside that tag's declaration :
xml 代码
- <fx:FABridge xmlns:fx=”ajaxbridge.*” />