在AS3 / Flex的自定义元数据? [英] Custom metadata in AS3/Flex?

查看:154
本文介绍了在AS3 / Flex的自定义元数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建和使用基于ActionScript3 / Flex的自定义元数据的工作?

How to create and to work with custom metadata in ActionScript3/Flex?

推荐答案

有处理元数据在ActionScript Flex中两个基本方向:

There is two general directions to deal with metadata in ActionScript in Flex:

  1. 在使用反射(或反省在Adobe而言)在运行时处理。你可以在这里找到文档。有几个第三方库,提供更方便的反射API,如 AS3-公地反映或<一HREF =htt​​p://www.spicefactory.org/parsley/>香菜反射API。
  2. 在使用Flex编译器扩展,由于Flex 4 SDK版本8165被介绍(见详细信息)。另请参见相应的讨论和的官方文档
  1. Dealing in runtime using reflection (or introspection in terms of Adobe). You can find documentation here. There are several third-party libraries which provides more convenient reflection API such as as3-commons-reflect or reflection API in Parsley.
  2. Using Flex Compiler Extensions which was introduced since Flex 4 SDK revision 8165 (see details). See also the corresponding discussion and official documentation.

这篇关于在AS3 / Flex的自定义元数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆