【问题标题】:Difference between UIComponent and Sprite in FlexFlex中UIComponent和Sprite的区别
【发布时间】:2010-05-23 00:41:04
【问题描述】:

Flex 中的 UIComponent 和 Sprite 有什么区别。

【问题讨论】:

  • 阅读 Adob​​e livedocs 上的 API 文档。

标签: apache-flex


【解决方案1】:

UIComponent 是Flex 中所有其他visal 组件的基类,它是Flex 框架的一部分。 (包mx.core)

Sprite 类是一个基本的显示列表构建块,是 Flash 的一部分(包 flash.display)\

UIComponent 是扩展 Sprite...

也检查一下:

UIComponent(检查继承 UIComponent -> FLex Sprite -> Sprite -> ...)

Sprite

HBox(你可以看到这个可视化组件有 UIComponent 作为它的基类 继承框 -> 容器 -> UIComponent -> ...)

【讨论】:

    猜你喜欢
    • 2011-09-26
    • 2014-10-12
    • 1970-01-01
    • 1970-01-01
    • 2023-04-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多