Skip to content

patternpark/as3reflection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActionScript 3 Reflection Library

This library was created in order to simplify the interface to flash.utils.describeType.

Usage

Check out the p2.reflect.Reflection class to see the methods that are available.

Here is a quick example:

import p2.reflect.Reflection;

var reflection:Reflection = Reflection.create("flash.display.Sprite");
trace(">> has addChild method?: " + reflection.hasMethod("addChild")); // true
trace(">> has foo method?: " + reflection.hasMethod("foo")); // false

About

A Reflection Library for ActionScript 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published