Note: This applies only to Flex Builder 2 Beta 3. It has been fixed for the final release of Flex Builder. The documentation included the correct final version, but the actual implementation still used the old function name.
While trying out some of the functions in the flash.utils.*
package, FlexBuilder told me that getQualifiedSuperclassName doesn’t exist. Turns out that it’s actually called getBaseClassName. I’m sure the documentation will be fixed in the final release.
You might find these related functions interesting as well:
- getQualifiedClassName
Returns the full class and package structure of an object as a string (ie. “flash.text.TextFormat”) - getDefinitionByName
You send it the class you want as a string, and you’ll get a reference to the actual Class object.
Could be useful for configuration files. I imagine that they could be combined with that asterix untyped type that Darron mentioned a while back.