开发者

Difference between halo and mx namespace

开发者 https://www.devze.com 2022-12-26 01:12 出处:网络
As far as I know, the support for library://ns.adobe.com/flex/halo namespace has been dropped, and now we have to use library://ns.adobe.com/flex/mx instead (reference). Can someone provide if there\'

As far as I know, the support for library://ns.adobe.com/flex/halo namespace has been dropped, and now we have to use library://ns.adobe.com/flex/mx instead (reference). Can someone provide if there's any difference between the two namespaces?

I am just starting to learn Flex and this change make me confused. For example, if I have an <mx:Tree> tag in my mxml document, the compiler complains that <mx:Tree> could not be resolved to a component implementation. But if I change my mx namespace to use the old one instead (halo), it successfully compiled without error开发者_运维百科.

Updated: By the way, I use Flex SDK command line compiler in Windows.

mxmlc --version
Version 4.0.0 build 10485


Adobe changed the "halo" namespace in order to more clearly differentiate it from the spark namespace. All you need to do is find/replace the old URI with the new one. The existing halo components will continue to work as is just with a new namespace.

0

精彩评论

暂无评论...
验证码 换一张
取 消