Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kemsky/RObject
Fast reflection for ActionScript
https://github.com/kemsky/RObject
actionscript adobe-air adobe-flash adobe-flex as3 performance reflection
Last synced: 3 months ago
JSON representation
Fast reflection for ActionScript
- Host: GitHub
- URL: https://github.com/kemsky/RObject
- Owner: kemsky
- License: mit
- Created: 2014-06-15T15:39:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-21T20:03:40.000Z (about 10 years ago)
- Last Synced: 2024-07-15T21:59:01.649Z (4 months ago)
- Topics: actionscript, adobe-air, adobe-flash, adobe-flex, as3, performance, reflection
- Language: ActionScript
- Homepage:
- Size: 410 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actionscript-sorted - RObject - Fast reflection for ActionScript (Unsorted / Other API)
README
RObject
=======Fast reflection for ActionScript, based on describeTypeJSON function
See http://tillschneidereit.net/2009/11/22/improved-reflection-support-in-flash-player-10-1/
The main limitation of the `avmplus.describeTypeJSON` function is that it can only be applied to instances.
RObject internally uses describeTypeJSON function where possible and falls back to parsing XML output of `flash.utils.describeType`
function, providing compatible object descriptor.Usage
```ActionScript
var flags:int = R.VARIABLES | R.METADATA | R.TRAITS;
var descriptor:RObject = R.describe(test, flags);
```