---
id: 194
title: RSL and the lack of a build-in map over class-definitions
slug: rsl-and-the-lack-of-a-build-in-map-over-class-definitions
date: '2008-08-27T11:47:00Z'
modified: '2008-08-27T11:47:00Z'
status: publish
type: post
author: pmoelgaard
categories:
  - Adobe Flex
tags: []
excerpt: null
canonicalPath: /posts/rsl-and-the-lack-of-a-build-in-map-over-class-definitions
featuredImage: null
commentCount: 0
wordCount: 128
readingTimeMinutes: 1
hasMedia: false
hasVideos: false
url: >-
  https://forwardthinking.pemo.me/posts/rsl-and-the-lack-of-a-build-in-map-over-class-definitions
---
In response to the lack of Reflection in ActionScript and the emergence of techniques such as RSL and Modules and the combination of these two, several initiatives have been launched to facilitate a map of class definitions within a SWF.  

One is the [SWFExplorer by ByteArray](http://code.google.com/p/swfexplorer/) which is still in a very early stage of development, but it appears to become a simple and easy way to get the definitionNames from a SWF at Runtime.  

Another is the [getDefinitionNames by Dennis Kolyako](http://etcs.ru/pre/getDefinitionNamesSource/) which is a bit more complex in its implementation than SWFExplorer, but yields the same gross results.  

SWFExplorer overall seems to fit the OO design model of Flex more than the latter implementation by Dennis which seems to match a more traditional Flash Authoring design model.
