             var record:DescribeTypeCacheRecord = new DescribeTypeCacheRecord();
             record.typeDescription = typeDescription;
             record.typeName = className;
-            typeCache[className] = record;
+            typeCache[cacheKey] = record;
 
             return record;
         }


        return undefined;
    }
    
    /**
     *  @private
     */

     *  @private
     */
    private static var typeCache:Object = {};

    /**
     *  @private
     */
