`
SilverRing
  • 浏览: 70823 次
社区版块
存档分类
最新评论

Managing with multiple XML namespace in Flex 2 applications

    博客分类:
  • Flex
阅读更多

A classic example occurs for external MXML components  :

xml 代码
  1. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" pageTitle="FlexGala - Author : Marco Casario" xmlns:myComp="myFolder.*" >  
  2.   
  3. <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 代码
  1. <fx:FABridge xmlns:fx=”ajaxbridge.*” />  
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics