getQualifiedSuperclassName is actually getBaseClassName

by Josh Tynjala

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 the Author

Josh Tynjala is an indie game developer, entrepreneur, Flash and Flex mercenary, and bowler hat enthusiast.

Share Your Thoughts

To display code in comments: <pre>Code here. May be multiline. Format XML with &gt; and &lt; entities.</pre>

Some HTML allowed in comments: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>