Custom metadata in AS3/Flex?

后端 未结 2 922
暗喜
暗喜 2021-01-17 13:53

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

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-17 14:34

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

    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.

提交回复
热议问题