# Runtime evaluator - get all open namespaces?

**URL:** <https://forum.kirupa.com/t/runtime-evaluator-get-all-open-namespaces/302912>\
**Category:** flash\
**Created:** [January 9, 2010, 11:56pm UTC](https://forum.kirupa.com/t/runtime-evaluator-get-all-open-namespaces/302912 "2010-01-09T23:56:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvxvw](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wvxvw](https://forum.kirupa.com/u/wvxvw)\
**Post date:** [January 9, 2010, 11:56pm UTC](https://forum.kirupa.com/t/runtime-evaluator-get-all-open-namespaces/302912/1 "2010-01-09T23:56:42Z")

</div>

I’m trying to make an evaluator to evaluate something like this: “SomeImportedClass.someStaticProperty”.  
In AS2 one could do this by looking up recursively all definitions starting from \_global and recursively down to the final definitions. This isn’t a very efficient way to do it, but, at least is some kind of workaround. However, I cannot find a way to evaluate the above expression in AS3. So, is there a way to know all open namespaces (imported packages) at runtime for a given scope?

EDIT: i.e. what I would need to do is to invoke the bytecode instruction \_\_as3\_findpropstrict. And feed it the name of the property. If I could do this with the class name only - that would be even better…
