getQualifiedSuperclassName is actually getBaseClassName

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.

About Josh Tynjala

Josh Tynjala is a frontend developer, open source contributor, bowler hat enthusiast, and karaoke addict. You might be familiar with his project, Feathers UI, an open source user interface library for Starling Framework that is included in the Adobe Gaming SDK.