Commits

Anonymous committed 96194a9

More AVM2 work. No tests are working yet, but they should start working sometime this week.

Comments (0)

Files changed (363)

pypy/translator/avm2/.ropeproject/config.py

+# The default ``config.py``
+
+
+def set_prefs(prefs):
+    """This function is called before opening the project"""
+
+    # Specify which files and folders to ignore in the project.
+    # Changes to ignored resources are not added to the history and
+    # VCSs.  Also they are not returned in `Project.get_files()`.
+    # Note that ``?`` and ``*`` match all characters but slashes.
+    # '*.pyc': matches 'test.pyc' and 'pkg/test.pyc'
+    # 'mod*.pyc': matches 'test/mod1.pyc' but not 'mod/1.pyc'
+    # '.svn': matches 'pkg/.svn' and all of its children
+    # 'build/*.o': matches 'build/lib.o' but not 'build/sub/lib.o'
+    # 'build//*.o': matches 'build/lib.o' and 'build/sub/lib.o'
+    prefs['ignored_resources'] = ['*.pyc', '*~', '.ropeproject',
+                                  '.hg', '.svn', '_svn', '.git']
+
+    # Specifies which files should be considered python files.  It is
+    # useful when you have scripts inside your project.  Only files
+    # ending with ``.py`` are considered to be python files by
+    # default.
+    #prefs['python_files'] = ['*.py']
+
+    # Custom source folders:  By default rope searches the project
+    # for finding source folders (folders that should be searched
+    # for finding modules).  You can add paths to that list.  Note
+    # that rope guesses project source folders correctly most of the
+    # time; use this if you have any problems.
+    # The folders should be relative to project root and use '/' for
+    # separating folders regardless of the platform rope is running on.
+    # 'src/my_source_folder' for instance.
+    #prefs.add('source_folders', 'src')
+
+    # You can extend python path for looking up modules
+    #prefs.add('python_path', '~/python/')
+
+    # Should rope save object information or not.
+    prefs['save_objectdb'] = True
+    prefs['compress_objectdb'] = False
+
+    # If `True`, rope analyzes each module when it is being saved.
+    prefs['automatic_soa'] = True
+    # The depth of calls to follow in static object analysis
+    prefs['soa_followed_calls'] = 0
+
+    # If `False` when running modules or unit tests "dynamic object
+    # analysis" is turned off.  This makes them much faster.
+    prefs['perform_doa'] = True
+
+    # Rope can check the validity of its object DB when running.
+    prefs['validate_objectdb'] = True
+
+    # How many undos to hold?
+    prefs['max_history_items'] = 32
+
+    # Shows whether to save history across sessions.
+    prefs['save_history'] = True
+    prefs['compress_history'] = False
+
+    # Set the number spaces used for indenting.  According to
+    # :PEP:`8`, it is best to use 4 spaces.  Since most of rope's
+    # unit-tests use 4 spaces it is more reliable, too.
+    prefs['indent_size'] = 4
+
+    # Builtin and c-extension modules that are allowed to be imported
+    # and inspected by rope.
+    prefs['extension_modules'] = []
+
+    # Add all standard c-extensions to extension_modules list.
+    prefs['import_dynload_stdmods'] = True
+
+    # If `True` modules with syntax errors are considered to be empty.
+    # The default value is `False`; When `False` syntax errors raise
+    # `rope.base.exceptions.ModuleSyntaxError` exception.
+    prefs['ignore_syntax_errors'] = False
+
+    # If `True`, rope ignores unresolvable imports.  Otherwise, they
+    # appear in the importing namespace.
+    prefs['ignore_bad_imports'] = False
+
+
+def project_opened(project):
+    """This function is called after opening the project"""
+    # Do whatever you like here!

pypy/translator/avm2/__init__.py

+

pypy/translator/avm2/_intrinsic.py

+# This file has been autogenerated by intrgen.py -- DO NOT EDIT
+
+from pypy.translator.avm2.query import ClassDesc
+
+types = {}
+
+desc = ClassDesc()
+desc.FullName = 'ArgumentError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['ArgumentError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'arguments'
+desc.BaseType = ''
+desc.Methods = []
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('callee', 'Function'),
+  ('length', 'Number'),
+]
+types['arguments'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Array'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['*args'], None),
+  ('concat', ['*args'], 'ootype.List'),
+  ('every', ['Function', ''], 'ootype.Bool'),
+  ('filter', ['Function', ''], 'ootype.List'),
+  ('forEach', ['Function', ''], 'ootype.Void'),
+  ('indexOf', ['', ''], 'ootype.SignedLongLong'),
+  ('join', [''], 'ootype.String'),
+  ('lastIndexOf', ['', ''], 'ootype.SignedLongLong'),
+  ('map', ['Function', ''], 'ootype.List'),
+  ('pop', [''], ''),
+  ('push', ['*args'], 'ootype.UnsignedLongLong'),
+  ('reverse', [''], 'ootype.List'),
+  ('shift', [''], ''),
+  ('slice', ['', ''], 'ootype.List'),
+  ('some', ['Function', ''], 'ootype.Bool'),
+  ('sort', ['*args'], ''),
+  ('sortOn', ['', ''], ''),
+  ('splice', ['ootype.SignedLongLong', 'ootype.UnsignedLongLong', '*args'], ''),
+  ('unshift', ['*args'], 'ootype.UnsignedLongLong'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('CASEINSENSITIVE', 'uint'),
+  ('DESCENDING', 'uint'),
+  ('length', 'int'),
+  ('NUMERIC', 'uint'),
+  ('RETURNINDEXEDARRAY', 'uint'),
+  ('UNIQUESORT', 'uint'),
+  ('length', 'ootype.UnsignedLongLong'),
+]
+types['Array'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Boolean'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+  ('toString', [''], 'ootype.String'),
+  ('valueOf', [''], 'ootype.Bool'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['Boolean'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Class'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('prototype', ''),
+]
+types['Class'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Date'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', '', '', '', '', '', ''], None),
+  ('getDate', [''], 'ootype.Float'),
+  ('getDay', [''], 'ootype.Float'),
+  ('getFullYear', [''], 'ootype.Float'),
+  ('getHours', [''], 'ootype.Float'),
+  ('getMilliseconds', [''], 'ootype.Float'),
+  ('getMinutes', [''], 'ootype.Float'),
+  ('getMonth', [''], 'ootype.Float'),
+  ('getSeconds', [''], 'ootype.Float'),
+  ('getTime', [''], 'ootype.Float'),
+  ('getTimezoneOffset', [''], 'ootype.Float'),
+  ('getUTCDate', [''], 'ootype.Float'),
+  ('getUTCDay', [''], 'ootype.Float'),
+  ('getUTCFullYear', [''], 'ootype.Float'),
+  ('getUTCHours', [''], 'ootype.Float'),
+  ('getUTCMilliseconds', [''], 'ootype.Float'),
+  ('getUTCMinutes', [''], 'ootype.Float'),
+  ('getUTCMonth', [''], 'ootype.Float'),
+  ('getUTCSeconds', [''], 'ootype.Float'),
+  ('setDate', [''], 'ootype.Float'),
+  ('setFullYear', ['', '', ''], 'ootype.Float'),
+  ('setHours', ['', '', '', ''], 'ootype.Float'),
+  ('setMilliseconds', [''], 'ootype.Float'),
+  ('setMinutes', ['', '', ''], 'ootype.Float'),
+  ('setMonth', ['', ''], 'ootype.Float'),
+  ('setSeconds', ['', ''], 'ootype.Float'),
+  ('setTime', [''], 'ootype.Float'),
+  ('setUTCDate', [''], 'ootype.Float'),
+  ('setUTCFullYear', ['', '', ''], 'ootype.Float'),
+  ('setUTCHours', ['', '', '', ''], 'ootype.Float'),
+  ('setUTCMilliseconds', [''], 'ootype.Float'),
+  ('setUTCMinutes', ['', '', ''], 'ootype.Float'),
+  ('setUTCMonth', ['', ''], 'ootype.Float'),
+  ('setUTCSeconds', ['', ''], 'ootype.Float'),
+  ('toDateString', [''], 'ootype.String'),
+  ('toLocaleDateString', [''], 'ootype.String'),
+  ('toLocaleString', [''], 'ootype.String'),
+  ('toLocaleTimeString', [''], 'ootype.String'),
+  ('toString', [''], 'ootype.String'),
+  ('toTimeString', [''], 'ootype.String'),
+  ('toUTCString', [''], 'ootype.String'),
+  ('valueOf', [''], 'ootype.Float'),
+]
+desc.StaticMethods = [
+  ('parse', [''], 'ootype.Float'),
+  ('UTC', ['', '', '', '', '', '', '', '*args'], 'ootype.Float'),
+]
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('date', 'ootype.Float'),
+  ('dateUTC', 'ootype.Float'),
+  ('day', 'ootype.Float'),
+  ('dayUTC', 'ootype.Float'),
+  ('fullYear', 'ootype.Float'),
+  ('fullYearUTC', 'ootype.Float'),
+  ('hours', 'ootype.Float'),
+  ('hoursUTC', 'ootype.Float'),
+  ('milliseconds', 'ootype.Float'),
+  ('millisecondsUTC', 'ootype.Float'),
+  ('minutes', 'ootype.Float'),
+  ('minutesUTC', 'ootype.Float'),
+  ('month', 'ootype.Float'),
+  ('monthUTC', 'ootype.Float'),
+  ('seconds', 'ootype.Float'),
+  ('secondsUTC', 'ootype.Float'),
+  ('time', 'ootype.Float'),
+  ('timezoneOffset', 'ootype.Float'),
+]
+types['Date'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'DefinitionError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['DefinitionError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Error'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+  ('getStackTrace', [''], 'ootype.String'),
+]
+desc.StaticMethods = [
+  ('getErrorMessage', ['ootype.SignedLongLong'], 'ootype.String'),
+  ('throwError', ['Class', 'ootype.UnsignedLongLong', '*args'], ''),
+]
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('errorID', 'ootype.SignedLongLong'),
+]
+types['Error'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'EvalError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['EvalError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Function'
+desc.BaseType = ''
+desc.Methods = [
+  ('apply', ['', ''], ''),
+  ('call', ['', '*args'], ''),
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('length', 'ootype.SignedLongLong'),
+  ('prototype', ''),
+]
+types['Function'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'int'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+  ('toExponential', [''], 'ootype.String'),
+  ('toFixed', [''], 'ootype.String'),
+  ('toPrecision', [''], 'ootype.String'),
+  ('toString', [''], 'ootype.String'),
+  ('valueOf', [''], 'ootype.SignedLongLong'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('MAX_VALUE', 'int'),
+  ('MIN_VALUE', 'int'),
+]
+types['int'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Math'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = [
+  ('abs', ['ootype.Float'], 'ootype.Float'),
+  ('acos', ['ootype.Float'], 'ootype.Float'),
+  ('asin', ['ootype.Float'], 'ootype.Float'),
+  ('atan', ['ootype.Float'], 'ootype.Float'),
+  ('atan2', ['ootype.Float', 'ootype.Float'], 'ootype.Float'),
+  ('ceil', ['ootype.Float'], 'ootype.Float'),
+  ('cos', ['ootype.Float'], 'ootype.Float'),
+  ('exp', ['ootype.Float'], 'ootype.Float'),
+  ('floor', ['ootype.Float'], 'ootype.Float'),
+  ('log', ['ootype.Float'], 'ootype.Float'),
+  ('max', ['ootype.Float', 'ootype.Float', '*args'], 'ootype.Float'),
+  ('min', ['ootype.Float', 'ootype.Float', '*args'], 'ootype.Float'),
+  ('pow', ['ootype.Float', 'ootype.Float'], 'ootype.Float'),
+  ('random', [''], 'ootype.Float'),
+  ('round', ['ootype.Float'], 'ootype.Float'),
+  ('sin', ['ootype.Float'], 'ootype.Float'),
+  ('sqrt', ['ootype.Float'], 'ootype.Float'),
+  ('tan', ['ootype.Float'], 'ootype.Float'),
+]
+desc.Fields = []
+desc.StaticFields = [
+  ('E', 'Number'),
+  ('LN10', 'Number'),
+  ('LN2', 'Number'),
+  ('LOG10E', 'Number'),
+  ('LOG2E', 'Number'),
+  ('PI', 'Number'),
+  ('SQRT1_2', 'Number'),
+  ('SQRT2', 'Number'),
+]
+types['Math'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Namespace'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+  ('toString', [''], 'ootype.String'),
+  ('valueOf', [''], 'ootype.String'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', '*'),
+  ('prefix', ''),
+  ('uri', 'ootype.String'),
+]
+types['Namespace'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Number'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+  ('toExponential', [''], 'ootype.String'),
+  ('toFixed', [''], 'ootype.String'),
+  ('toPrecision', [''], 'ootype.String'),
+  ('toString', [''], 'ootype.String'),
+  ('valueOf', [''], 'ootype.Float'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('MAX_VALUE', 'Number'),
+  ('MIN_VALUE', 'Number'),
+  ('NaN', 'Number'),
+  ('NEGATIVE_INFINITY', 'Number'),
+  ('POSITIVE_INFINITY', 'Number'),
+]
+types['Number'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Object'
+desc.BaseType = ''
+desc.Methods = [
+  ('hasOwnProperty', [''], 'ootype.Bool'),
+  ('isPrototypeOf', [''], 'ootype.Bool'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('propertyIsEnumerable', [''], 'ootype.Bool'),
+  ('toString', [''], 'ootype.String'),
+  ('valueOf', [''], 'ootype.Dict'),
+  ('setPropertyIsEnumerable', ['ootype.String', 'ootype.Bool'], 'ootype.Void'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['Object'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'QName'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+  ('toString', [''], 'ootype.String'),
+  ('valueOf', [''], 'QName'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', '*'),
+  ('localName', 'ootype.String'),
+  ('uri', ''),
+]
+types['QName'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'RangeError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['RangeError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'ReferenceError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['ReferenceError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'RegExp'
+desc.BaseType = ''
+desc.Methods = [
+  ('exec', ['ootype.String'], ''),
+  ('!CONSTRUCTOR!', ['', ''], None),
+  ('test', ['ootype.String'], 'ootype.Bool'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('dotall', 'ootype.Bool'),
+  ('extended', 'ootype.Bool'),
+  ('global', 'ootype.Bool'),
+  ('ignoreCase', 'ootype.Bool'),
+  ('lastIndex', 'ootype.SignedLongLong'),
+  ('multiline', 'ootype.Bool'),
+  ('source', 'ootype.String'),
+]
+types['RegExp'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'SecurityError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['SecurityError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'String'
+desc.BaseType = ''
+desc.Methods = [
+  ('charAt', ['ootype.Float'], 'ootype.String'),
+  ('charCodeAt', ['ootype.Float'], 'ootype.Float'),
+  ('concat', ['*args'], 'ootype.String'),
+  ('indexOf', ['ootype.String', 'ootype.Float'], 'ootype.SignedLongLong'),
+  ('lastIndexOf', ['ootype.String', 'ootype.Float'], 'ootype.SignedLongLong'),
+  ('localeCompare', ['ootype.String'], 'ootype.SignedLongLong'),
+  ('match', [''], 'ootype.List'),
+  ('replace', ['', ''], 'ootype.String'),
+  ('search', [''], 'ootype.SignedLongLong'),
+  ('slice', ['ootype.Float', 'ootype.Float'], 'ootype.String'),
+  ('split', ['', ''], 'ootype.List'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('substr', ['ootype.Float', 'ootype.Float'], 'ootype.String'),
+  ('substring', ['ootype.Float', 'ootype.Float'], 'ootype.String'),
+  ('toLocaleLowerCase', [''], 'ootype.String'),
+  ('toLocaleUpperCase', [''], 'ootype.String'),
+  ('toLowerCase', [''], 'ootype.String'),
+  ('toString', [''], 'ootype.String'),
+  ('toUpperCase', [''], 'ootype.String'),
+  ('valueOf', [''], 'ootype.String'),
+]
+desc.StaticMethods = [
+  ('fromCharCode', ['*args'], 'ootype.String'),
+]
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('length', 'ootype.SignedLongLong'),
+]
+types['String'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'SyntaxError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['SyntaxError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = ''
+desc.BaseType = ''
+desc.Methods = [
+  ('trace', ['*args'], 'ootype.Void'),
+  ('decodeURI', ['ootype.String'], 'ootype.String'),
+  ('decodeURIComponent', ['ootype.String'], 'ootype.String'),
+  ('encodeURI', ['ootype.String'], 'ootype.String'),
+  ('encodeURIComponent', ['ootype.String'], 'ootype.String'),
+  ('escape', ['ootype.String'], 'ootype.String'),
+  ('isFinite', ['ootype.Float'], 'ootype.Bool'),
+  ('isNaN', ['ootype.Float'], 'ootype.Bool'),
+  ('isXMLName', ['ootype.String'], 'ootype.Bool'),
+  ('parseInt', ['ootype.String', 'ootype.UnsignedLongLong'], 'ootype.Float'),
+  ('parseFloat', ['ootype.String'], 'ootype.Float'),
+  ('unescape', ['ootype.String'], 'ootype.String'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types[''] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'TypeError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['TypeError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'uint'
+desc.BaseType = ''
+desc.Methods = [
+  ('toExponential', [''], 'ootype.String'),
+  ('toFixed', [''], 'ootype.String'),
+  ('toPrecision', [''], 'ootype.String'),
+  ('toString', [''], 'ootype.String'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('valueOf', [''], 'ootype.UnsignedLongLong'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+  ('MAX_VALUE', 'uint'),
+  ('MIN_VALUE', 'uint'),
+]
+types['uint'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'UninitializedError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['UninitializedError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'URIError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['URIError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'Vector.<T>'
+desc.BaseType = ''
+desc.Methods = [
+  ('Vector', ['ootype.UnsignedLongLong', 'ootype.Bool'], 'oolean'),
+  ('concat', ['*args'], 'ootype.Array'),
+  ('every', ['Function', 'ootype.Dict'], 'ootype.Bool'),
+  ('filter', ['Function', 'ootype.Dict'], 'ootype.Array'),
+  ('forEach', ['Function', 'ootype.Dict'], 'ootype.Void'),
+  ('indexOf', ['T', 'ootype.SignedLongLong'], 'ootype.SignedLongLong'),
+  ('join', ['ootype.String', '"'], 'ootype.String'),
+  ('lastIndexOf', ['T', 'ootype.SignedLongLong'], 'ootype.SignedLongLong'),
+  ('map', ['Function', 'ootype.Dict'], 'ootype.Array'),
+  ('pop', [''], 'T'),
+  ('push', ['*args'], 'ootype.UnsignedLongLong'),
+  ('reverse', [''], 'ootype.Array'),
+  ('shift', [''], 'T'),
+  ('slice', ['ootype.SignedLongLong', 'ootype.SignedLongLong'], 'ootype.Array'),
+  ('some', ['Function', 'ootype.Dict'], 'ootype.Bool'),
+  ('sort', ['Function'], 'ootype.Array'),
+  ('splice', ['ootype.SignedLongLong', 'ootype.UnsignedLongLong', '*args'], 'ootype.Array'),
+  ('toString', [''], 'ootype.String'),
+  ('toLocaleString', [''], 'ootype.String'),
+  ('unshift', ['*args'], 'ootype.UnsignedLongLong'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['Vector.<T>'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'VerifyError'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['', ''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', 'int'),
+]
+types['VerifyError'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'XML'
+desc.BaseType = ''
+desc.Methods = [
+  ('addNamespace', [''], 'XML'),
+  ('appendChild', [''], 'XML'),
+  ('attribute', [''], 'XMLList'),
+  ('attributes', [''], 'XMLList'),
+  ('child', [''], 'XMLList'),
+  ('childIndex', [''], 'ootype.SignedLongLong'),
+  ('children', [''], 'XMLList'),
+  ('comments', [''], 'XMLList'),
+  ('contains', [''], 'ootype.Bool'),
+  ('copy', [''], 'XML'),
+  ('descendants', [''], 'XMLList'),
+  ('elements', [''], 'XMLList'),
+  ('hasComplexContent', [''], 'ootype.Bool'),
+  ('hasOwnProperty', [''], 'ootype.Bool'),
+  ('hasSimpleContent', [''], 'ootype.Bool'),
+  ('inScopeNamespaces', [''], 'ootype.List'),
+  ('insertChildAfter', ['', ''], ''),
+  ('insertChildBefore', ['', ''], ''),
+  ('length', [''], 'ootype.SignedLongLong'),
+  ('localName', [''], 'ootype.Dict'),
+  ('name', [''], 'ootype.Dict'),
+  ('namespace', [''], ''),
+  ('namespaceDeclarations', [''], 'ootype.List'),
+  ('nodeKind', [''], 'ootype.String'),
+  ('normalize', [''], 'XML'),
+  ('notification', [''], 'Function'),
+  ('parent', [''], ''),
+  ('prependChild', [''], 'XML'),
+  ('processingInstructions', [''], 'XMLList'),
+  ('propertyIsEnumerable', [''], 'ootype.Bool'),
+  ('removeNamespace', [''], 'XML'),
+  ('replace', ['', ''], 'XML'),
+  ('setChildren', [''], 'XML'),
+  ('setLocalName', [''], 'ootype.Void'),
+  ('setName', [''], 'ootype.Void'),
+  ('setNamespace', [''], 'ootype.Void'),
+  ('setNotification', ['Function'], ''),
+  ('text', [''], 'XMLList'),
+  ('toString', [''], 'ootype.String'),
+  ('toXMLString', [''], 'ootype.String'),
+  ('valueOf', [''], 'XML'),
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = [
+  ('defaultSettings', [''], 'ootype.Dict'),
+  ('setSettings', ['ootype.Dict'], 'ootype.Void'),
+  ('settings', [''], 'ootype.Dict'),
+]
+desc.Fields = []
+desc.StaticFields = [
+  ('length', '*'),
+  ('ignoreComments', 'ootype.Bool'),
+  ('ignoreProcessingInstructions', 'ootype.Bool'),
+  ('ignoreWhitespace', 'ootype.Bool'),
+  ('prettyIndent', 'ootype.SignedLongLong'),
+  ('prettyPrinting', 'ootype.Bool'),
+]
+types['XML'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'XMLList'
+desc.BaseType = ''
+desc.Methods = [
+  ('addNamespace', [''], 'XML'),
+  ('appendChild', [''], 'XML'),
+  ('attribute', [''], 'XMLList'),
+  ('attributes', [''], 'XMLList'),
+  ('child', [''], 'XMLList'),
+  ('childIndex', [''], 'ootype.SignedLongLong'),
+  ('children', [''], 'XMLList'),
+  ('comments', [''], 'XMLList'),
+  ('contains', [''], 'ootype.Bool'),
+  ('copy', [''], 'XMLList'),
+  ('descendants', [''], 'XMLList'),
+  ('elements', [''], 'XMLList'),
+  ('hasComplexContent', [''], 'ootype.Bool'),
+  ('hasOwnProperty', [''], 'ootype.Bool'),
+  ('hasSimpleContent', [''], 'ootype.Bool'),
+  ('inScopeNamespaces', [''], 'ootype.List'),
+  ('insertChildAfter', ['', ''], ''),
+  ('insertChildBefore', ['', ''], ''),
+  ('length', [''], 'ootype.SignedLongLong'),
+  ('localName', [''], 'ootype.Dict'),
+  ('name', [''], 'ootype.Dict'),
+  ('namespace', [''], ''),
+  ('namespaceDeclarations', [''], 'ootype.List'),
+  ('nodeKind', [''], 'ootype.String'),
+  ('normalize', [''], 'XMLList'),
+  ('parent', [''], ''),
+  ('prependChild', [''], 'XML'),
+  ('processingInstructions', [''], 'XMLList'),
+  ('propertyIsEnumerable', [''], 'ootype.Bool'),
+  ('removeNamespace', [''], 'XML'),
+  ('replace', ['', ''], 'XML'),
+  ('setChildren', [''], 'XML'),
+  ('setLocalName', [''], 'ootype.Void'),
+  ('setName', [''], 'ootype.Void'),
+  ('setNamespace', [''], 'ootype.Void'),
+  ('text', [''], 'XMLList'),
+  ('toString', [''], 'ootype.String'),
+  ('toXMLString', [''], 'ootype.String'),
+  ('valueOf', [''], 'XMLList'),
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('length', '*'),
+]
+types['XMLList'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'adobe.utils.CustomActions'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = [
+  ('getActions', ['ootype.String'], 'ootype.String'),
+  ('installActions', ['ootype.String', 'ootype.String'], 'ootype.Void'),
+  ('uninstallActions', ['ootype.String'], 'ootype.Void'),
+]
+desc.Fields = []
+desc.StaticFields = [
+  ('actionsList', 'ootype.List'),
+]
+types['adobe.utils.CustomActions'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = ''
+desc.BaseType = ''
+desc.Methods = [
+  ('MMExecute', ['ootype.String'], 'ootype.String'),
+  ('MMEndCommand', ['ootype.Bool', 'ootype.String'], 'ootype.Void'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types[''] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'adobe.utils.ProductManager'
+desc.BaseType = ''
+desc.Methods = [
+  ('download', ['ootype.String', 'ootype.String', 'ootype.List'], 'ootype.Bool'),
+  ('launch', ['ootype.String'], 'ootype.Bool'),
+  ('!CONSTRUCTOR!', ['ootype.String'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('installed', 'ootype.Bool'),
+  ('installedVersion', 'ootype.String'),
+  ('running', 'ootype.Bool'),
+]
+types['adobe.utils.ProductManager'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'adobe.utils.XMLUI'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = [
+  ('accept', [''], 'ootype.Void'),
+  ('cancel', [''], 'ootype.Void'),
+  ('getProperty', ['ootype.String'], 'ootype.String'),
+  ('setProperty', ['ootype.String', 'ootype.String'], 'ootype.Void'),
+]
+desc.Fields = []
+desc.StaticFields = []
+types['adobe.utils.XMLUI'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'authoring.authObject'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['ootype.UnsignedLongLong'], None),
+  ('BlendingMode', [''], 'ootype.String'),
+  ('Bounds', ['ootype.UnsignedLongLong', 'ootype.SignedLongLong', 'ootype.SignedLongLong'], 'flash.geom.Rectangle'),
+  ('CacheAsBitmap', [''], 'ootype.Bool'),
+  ('CenterPoint', [''], 'flash.geom.Point'),
+  ('ColorXForm', [''], 'flash.geom.ColorTransform'),
+  ('EndPosition', [''], 'ootype.SignedLongLong'),
+  ('Filters', [''], 'ootype.List'),
+  ('FrameForFrameNumber', ['ootype.SignedLongLong'], 'authoring.authObject'),
+  ('FrameOffset', [''], 'ootype.SignedLongLong'),
+  ('FrameType', [''], 'ootype.UnsignedLongLong'),
+  ('HasEmptyPath', [''], 'ootype.Bool'),
+  ('HasShapeSelection', [''], 'ootype.Bool'),
+  ('IsFloater', [''], 'ootype.Bool'),
+  ('IsPrimitive', [''], 'ootype.Bool'),
+  ('IsSelected', [''], 'ootype.Bool'),
+  ('IsVisible', ['ootype.Bool'], 'ootype.Bool'),
+  ('LivePreviewSize', [''], 'flash.geom.Point'),
+  ('Locked', [''], 'ootype.Bool'),
+  ('MotionPath', [''], 'authoring.authObject'),
+  ('ObjMatrix', [''], 'flash.geom.Matrix'),
+  ('OutlineColor', [''], 'ootype.UnsignedLongLong'),
+  ('OutlineMode', [''], 'ootype.Bool'),
+  ('RegistrationPoint', [''], 'flash.geom.Point'),
+  ('Scale9Grid', [''], 'flash.geom.Rectangle'),
+  ('StartPosition', [''], 'ootype.SignedLongLong'),
+  ('SymbolBehavior', [''], 'ootype.SignedLongLong'),
+  ('SymbolMode', [''], 'ootype.SignedLongLong'),
+  ('ThreeDMatrix', [''], 'flash.geom.Matrix3D'),
+  ('ThreeDTranslationHandlePoints', [''], 'ootype.List'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('FirstChild', 'authoring.authObject'),
+  ('Key', 'ootype.UnsignedLongLong'),
+  ('NextSibling', 'authoring.authObject'),
+  ('offScreenSurfaceRenderingEnabled', 'ootype.Bool'),
+  ('SwfKey', 'ootype.UnsignedLongLong'),
+  ('Type', 'ootype.UnsignedLongLong'),
+]
+types['authoring.authObject'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.accessibility.Accessibility'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = [
+  ('sendEvent', ['flash.display.DisplayObject', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.Bool'], 'ootype.Void'),
+  ('updateProperties', [''], 'ootype.Void'),
+]
+desc.Fields = []
+desc.StaticFields = [
+  ('active', 'ootype.Bool'),
+]
+types['flash.accessibility.Accessibility'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.accessibility.AccessibilityImplementation'
+desc.BaseType = ''
+desc.Methods = [
+  ('accDoDefaultAction', ['ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('accLocation', ['ootype.UnsignedLongLong'], ''),
+  ('accSelect', ['ootype.UnsignedLongLong', 'ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('get_accDefaultAction', ['ootype.UnsignedLongLong'], 'ootype.String'),
+  ('get_accFocus', [''], 'ootype.UnsignedLongLong'),
+  ('get_accName', ['ootype.UnsignedLongLong'], 'ootype.String'),
+  ('get_accRole', ['ootype.UnsignedLongLong'], 'ootype.UnsignedLongLong'),
+  ('get_accSelection', [''], 'ootype.List'),
+  ('get_accState', ['ootype.UnsignedLongLong'], 'ootype.UnsignedLongLong'),
+  ('get_accValue', ['ootype.UnsignedLongLong'], 'ootype.String'),
+  ('getChildIDArray', [''], 'ootype.List'),
+  ('isLabeledBy', ['flash.geom.Rectangle'], 'ootype.Bool'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.accessibility.AccessibilityImplementation'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.accessibility.AccessibilityProperties'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.accessibility.AccessibilityProperties'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.desktop.Clipboard'
+desc.BaseType = ''
+desc.Methods = [
+  ('clear', [''], 'ootype.Void'),
+  ('clearData', ['ootype.String'], 'ootype.Void'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('getData', ['ootype.String', 'ootype.String'], 'ootype.Dict'),
+  ('hasFormat', ['ootype.String'], 'ootype.Bool'),
+  ('setData', ['ootype.String', 'ootype.Dict', 'ootype.Bool'], 'ootype.Bool'),
+  ('setDataHandler', ['ootype.String', 'Function', 'ootype.Bool'], 'ootype.Bool'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('formats', 'ootype.List'),
+  ('generalClipboard', 'flash.desktop.Clipboard'),
+]
+types['flash.desktop.Clipboard'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.desktop.ClipboardFormats'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('HTML_FORMAT', 'String'),
+  ('RICH_TEXT_FORMAT', 'String'),
+  ('TEXT_FORMAT', 'String'),
+]
+types['flash.desktop.ClipboardFormats'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.desktop.ClipboardTransferMode'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('CLONE_ONLY', 'String'),
+  ('CLONE_PREFERRED', 'String'),
+  ('ORIGINAL_ONLY', 'String'),
+  ('ORIGINAL_PREFERRED', 'String'),
+]
+types['flash.desktop.ClipboardTransferMode'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = ''
+desc.BaseType = ''
+desc.Methods = []
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types[''] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.ActionScriptVersion'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('ACTIONSCRIPT2', 'uint'),
+  ('ACTIONSCRIPT3', 'uint'),
+]
+types['flash.display.ActionScriptVersion'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.AVM1Movie'
+desc.BaseType = ''
+desc.Methods = [
+  ('addCallback', ['ootype.String', 'Function'], 'ootype.Void'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('call', ['ootype.String', '*args'], ''),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.display.AVM1Movie'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.Bitmap'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['flash.display.BitmapData', 'ootype.String', 'ootype.Bool'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('bitmapData', 'flash.display.BitmapData'),
+  ('pixelSnapping', 'ootype.String'),
+  ('smoothing', 'ootype.Bool'),
+]
+types['flash.display.Bitmap'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.BitmapData'
+desc.BaseType = ''
+desc.Methods = [
+  ('applyFilter', ['flash.display.BitmapData', 'flash.geom.Rectangle', 'flash.geom.Point', 'flash.filters.BitmapFilter'], 'ootype.Void'),
+  ('!CONSTRUCTOR!', ['ootype.SignedLongLong', 'ootype.SignedLongLong', 'ootype.Bool', 'ootype.UnsignedLongLong'], None),
+  ('clone', [''], 'flash.display.BitmapData'),
+  ('colorTransform', ['flash.geom.Rectangle', 'flash.geom.ColorTransform'], 'ootype.Void'),
+  ('compare', ['flash.display.BitmapData'], 'ootype.Dict'),
+  ('copyChannel', ['flash.display.BitmapData', 'flash.geom.Rectangle', 'flash.geom.Point', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('copyPixels', ['flash.display.BitmapData', 'flash.geom.Rectangle', 'flash.geom.Point', 'flash.display.BitmapData', 'flash.geom.Point', 'ootype.Bool'], 'ootype.Void'),
+  ('dispose', [''], 'ootype.Void'),
+  ('draw', ['flash.display.IBitmapDrawable', 'flash.geom.Matrix', 'flash.geom.ColorTransform', 'ootype.String', 'flash.geom.Rectangle', 'ootype.Bool'], 'ootype.Void'),
+  ('fillRect', ['flash.geom.Rectangle', 'ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('floodFill', ['ootype.SignedLongLong', 'ootype.SignedLongLong', 'ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('generateFilterRect', ['flash.geom.Rectangle', 'flash.filters.BitmapFilter'], 'flash.geom.Rectangle'),
+  ('getColorBoundsRect', ['ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.Bool'], 'flash.geom.Rectangle'),
+  ('getPixel', ['ootype.SignedLongLong', 'ootype.SignedLongLong'], 'ootype.UnsignedLongLong'),
+  ('getPixel32', ['ootype.SignedLongLong', 'ootype.SignedLongLong'], 'ootype.UnsignedLongLong'),
+  ('getPixels', ['flash.geom.Rectangle'], 'flash.utils.ByteArray'),
+  ('getVector', ['flash.geom.Rectangle'], 'ootype.Array'),
+  ('histogram', ['flash.geom.Rectangle'], 'ootype.Array'),
+  ('hitTest', ['flash.geom.Point', 'ootype.UnsignedLongLong', 'ootype.Dict', 'flash.geom.Point', 'ootype.UnsignedLongLong'], 'ootype.Bool'),
+  ('lock', [''], 'ootype.Void'),
+  ('merge', ['flash.display.BitmapData', 'flash.geom.Rectangle', 'flash.geom.Point', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('noise', ['ootype.SignedLongLong', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.Bool'], 'ootype.Void'),
+  ('paletteMap', ['flash.display.BitmapData', 'flash.geom.Rectangle', 'flash.geom.Point', 'ootype.List', 'ootype.List', 'ootype.List', 'ootype.List'], 'ootype.Void'),
+  ('perlinNoise', ['ootype.Float', 'ootype.Float', 'ootype.UnsignedLongLong', 'ootype.SignedLongLong', 'ootype.Bool', 'ootype.Bool', 'ootype.UnsignedLongLong', 'ootype.Bool', 'ootype.List'], 'ootype.Void'),
+  ('pixelDissolve', ['flash.display.BitmapData', 'flash.geom.Rectangle', 'flash.geom.Point', 'ootype.SignedLongLong', 'ootype.SignedLongLong', 'ootype.UnsignedLongLong'], 'ootype.SignedLongLong'),
+  ('scroll', ['ootype.SignedLongLong', 'ootype.SignedLongLong'], 'ootype.Void'),
+  ('setPixel', ['ootype.SignedLongLong', 'ootype.SignedLongLong', 'ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('setPixel32', ['ootype.SignedLongLong', 'ootype.SignedLongLong', 'ootype.UnsignedLongLong'], 'ootype.Void'),
+  ('setPixels', ['flash.geom.Rectangle', 'flash.utils.ByteArray'], 'ootype.Void'),
+  ('setVector', ['flash.geom.Rectangle', 'ootype.Array'], 'ootype.Void'),
+  ('threshold', ['flash.display.BitmapData', 'flash.geom.Rectangle', 'flash.geom.Point', 'ootype.String', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.UnsignedLongLong', 'ootype.Bool'], 'ootype.UnsignedLongLong'),
+  ('unlock', ['flash.geom.Rectangle'], 'ootype.Void'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('height', 'ootype.SignedLongLong'),
+  ('rect', 'flash.geom.Rectangle'),
+  ('transparent', 'ootype.Bool'),
+  ('width', 'ootype.SignedLongLong'),
+]
+types['flash.display.BitmapData'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.BitmapDataChannel'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('ALPHA', 'uint'),
+  ('BLUE', 'uint'),
+  ('GREEN', 'uint'),
+  ('RED', 'uint'),
+]
+types['flash.display.BitmapDataChannel'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.BlendMode'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('ADD', 'String'),
+  ('ALPHA', 'String'),
+  ('DARKEN', 'String'),
+  ('DIFFERENCE', 'String'),
+  ('ERASE', 'String'),
+  ('HARDLIGHT', 'String'),
+  ('INVERT', 'String'),
+  ('LAYER', 'String'),
+  ('LIGHTEN', 'String'),
+  ('MULTIPLY', 'String'),
+  ('NORMAL', 'String'),
+  ('OVERLAY', 'String'),
+  ('SCREEN', 'String'),
+  ('SHADER', 'String'),
+  ('SUBTRACT', 'String'),
+]
+types['flash.display.BlendMode'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.CapsStyle'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('NONE', 'String'),
+  ('ROUND', 'String'),
+  ('SQUARE', 'String'),
+]
+types['flash.display.CapsStyle'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.ColorCorrection'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('DEFAULT', 'String'),
+  ('OFF', 'String'),
+  ('ON', 'String'),
+]
+types['flash.display.ColorCorrection'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.ColorCorrectionSupport'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('DEFAULT_OFF', 'String'),
+  ('DEFAULT_ON', 'String'),
+  ('UNSUPPORTED', 'String'),
+]
+types['flash.display.ColorCorrectionSupport'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.DisplayObject'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+  ('getBounds', ['flash.display.DisplayObject'], 'flash.geom.Rectangle'),
+  ('getRect', ['flash.display.DisplayObject'], 'flash.geom.Rectangle'),
+  ('globalToLocal', ['flash.geom.Point'], 'flash.geom.Point'),
+  ('globalToLocal3D', ['flash.geom.Point'], 'flash.geom.Vector3D'),
+  ('hitTestObject', ['flash.display.DisplayObject'], 'ootype.Bool'),
+  ('hitTestPoint', ['ootype.Float', 'ootype.Float', 'ootype.Bool'], 'ootype.Bool'),
+  ('local3DToGlobal', ['flash.geom.Vector3D'], 'flash.geom.Point'),
+  ('localToGlobal', ['flash.geom.Point'], 'flash.geom.Point'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('accessibilityProperties', 'flash.accessibility.AccessibilityProperties'),
+  ('alpha', 'ootype.Float'),
+  ('blendMode', 'ootype.String'),
+  ('blendShader', 'flash.display.Shader'),
+  ('cacheAsBitmap', 'ootype.Bool'),
+  ('filters', 'ootype.List'),
+  ('height', 'ootype.Float'),
+  ('loaderInfo', 'flash.display.LoaderInfo'),
+  ('mask', 'flash.display.DisplayObject'),
+  ('mouseX', 'ootype.Float'),
+  ('mouseY', 'ootype.Float'),
+  ('name', 'ootype.String'),
+  ('opaqueBackground', 'ootype.Dict'),
+  ('parent', 'flash.display.DisplayObjectContainer'),
+  ('root', 'flash.display.DisplayObject'),
+  ('rotation', 'ootype.Float'),
+  ('rotationX', 'ootype.Float'),
+  ('rotationY', 'ootype.Float'),
+  ('rotationZ', 'ootype.Float'),
+  ('scale9Grid', 'flash.geom.Rectangle'),
+  ('scaleX', 'ootype.Float'),
+  ('scaleY', 'ootype.Float'),
+  ('scaleZ', 'ootype.Float'),
+  ('scrollRect', 'flash.geom.Rectangle'),
+  ('stage', 'flash.display.Stage'),
+  ('transform', 'flash.geom.Transform'),
+  ('width', 'ootype.Float'),
+  ('visible', 'ootype.Bool'),
+  ('x', 'ootype.Float'),
+  ('y', 'ootype.Float'),
+  ('z', 'ootype.Float'),
+]
+types['flash.display.DisplayObject'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.DisplayObjectContainer'
+desc.BaseType = ''
+desc.Methods = [
+  ('addChild', ['flash.display.DisplayObject'], 'flash.display.DisplayObject'),
+  ('addChildAt', ['flash.display.DisplayObject', 'ootype.SignedLongLong'], 'flash.display.DisplayObject'),
+  ('areInaccessibleObjectsUnderPoint', ['flash.geom.Point'], 'ootype.Bool'),
+  ('contains', ['flash.display.DisplayObject'], 'ootype.Bool'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('getChildAt', ['ootype.SignedLongLong'], 'flash.display.DisplayObject'),
+  ('getChildByName', ['ootype.String'], 'flash.display.DisplayObject'),
+  ('getChildIndex', ['flash.display.DisplayObject'], 'ootype.SignedLongLong'),
+  ('getObjectsUnderPoint', ['flash.geom.Point'], 'ootype.List'),
+  ('removeChild', ['flash.display.DisplayObject'], 'flash.display.DisplayObject'),
+  ('removeChildAt', ['ootype.SignedLongLong'], 'flash.display.DisplayObject'),
+  ('setChildIndex', ['flash.display.DisplayObject', 'ootype.SignedLongLong'], 'ootype.Void'),
+  ('swapChildren', ['flash.display.DisplayObject', 'flash.display.DisplayObject'], 'ootype.Void'),
+  ('swapChildrenAt', ['ootype.SignedLongLong', 'ootype.SignedLongLong'], 'ootype.Void'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('mouseChildren', 'ootype.Bool'),
+  ('numChildren', 'ootype.SignedLongLong'),
+  ('tabChildren', 'ootype.Bool'),
+  ('textSnapshot', 'flash.text.TextSnapshot'),
+]
+types['flash.display.DisplayObjectContainer'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.FrameLabel'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['ootype.String', 'ootype.SignedLongLong'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('frame', 'ootype.SignedLongLong'),
+  ('name', 'ootype.String'),
+]
+types['flash.display.FrameLabel'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GradientType'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('LINEAR', 'String'),
+  ('RADIAL', 'String'),
+]
+types['flash.display.GradientType'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.Graphics'
+desc.BaseType = ''
+desc.Methods = [
+  ('beginBitmapFill', ['flash.display.BitmapData', 'flash.geom.Matrix', 'ootype.Bool', 'ootype.Bool'], 'ootype.Void'),
+  ('beginFill', ['ootype.UnsignedLongLong', 'ootype.Float'], 'ootype.Void'),
+  ('beginGradientFill', ['ootype.String', 'ootype.List', 'ootype.List', 'ootype.List', 'flash.geom.Matrix', 'ootype.String', 'ootype.String', 'ootype.Float'], 'ootype.Void'),
+  ('beginShaderFill', ['flash.display.Shader', 'flash.geom.Matrix'], 'ootype.Void'),
+  ('clear', [''], 'ootype.Void'),
+  ('copyFrom', ['flash.display.Graphics'], 'ootype.Void'),
+  ('curveTo', ['ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('drawCircle', ['ootype.Float', 'ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('drawEllipse', ['ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('drawGraphicsData', ['ootype.Array'], 'ootype.Void'),
+  ('drawPath', ['ootype.Array', 'ootype.Array', 'ootype.String'], 'ootype.Void'),
+  ('drawRect', ['ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('drawRoundRect', ['ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('drawRoundRectComplex', ['ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('drawTriangles', ['ootype.Array', 'ootype.Array', 'ootype.Array', 'ootype.String'], 'ootype.Void'),
+  ('endFill', [''], 'ootype.Void'),
+  ('!CONSTRUCTOR!', [''], None),
+  ('lineBitmapStyle', ['flash.display.BitmapData', 'flash.geom.Matrix', 'ootype.Bool', 'ootype.Bool'], 'ootype.Void'),
+  ('lineGradientStyle', ['ootype.String', 'ootype.List', 'ootype.List', 'ootype.List', 'flash.geom.Matrix', 'ootype.String', 'ootype.String', 'ootype.Float'], 'ootype.Void'),
+  ('lineShaderStyle', ['flash.display.Shader', 'flash.geom.Matrix'], 'ootype.Void'),
+  ('lineStyle', ['ootype.Float', 'ootype.UnsignedLongLong', 'ootype.Float', 'ootype.Bool', 'ootype.String', 'ootype.String', 'ootype.String', 'ootype.Float'], 'ootype.Void'),
+  ('lineTo', ['ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('moveTo', ['ootype.Float', 'ootype.Float'], 'ootype.Void'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.display.Graphics'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsBitmapFill'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['flash.display.BitmapData', 'flash.geom.Matrix', 'ootype.Bool', 'ootype.Bool'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.display.GraphicsBitmapFill'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsEndFill'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.display.GraphicsEndFill'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsGradientFill'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['ootype.String', 'ootype.List', 'ootype.List', 'ootype.List', '', '', 'ootype.String', 'ootype.Float'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('interpolationMethod', 'ootype.String'),
+  ('spreadMethod', 'ootype.String'),
+  ('type', 'ootype.String'),
+]
+types['flash.display.GraphicsGradientFill'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsPath'
+desc.BaseType = ''
+desc.Methods = [
+  ('curveTo', ['ootype.Float', 'ootype.Float', 'ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('!CONSTRUCTOR!', ['ootype.Array', 'ootype.Array', 'ootype.String'], None),
+  ('lineTo', ['ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('moveTo', ['ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('wideLineTo', ['ootype.Float', 'ootype.Float'], 'ootype.Void'),
+  ('wideMoveTo', ['ootype.Float', 'ootype.Float'], 'ootype.Void'),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('winding', 'ootype.String'),
+]
+types['flash.display.GraphicsPath'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsPathCommand'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('CURVE_TO', 'int'),
+  ('LINE_TO', 'int'),
+  ('MOVE_TO', 'int'),
+  ('NO_OP', 'int'),
+  ('WIDE_LINE_TO', 'int'),
+  ('WIDE_MOVE_TO', 'int'),
+]
+types['flash.display.GraphicsPathCommand'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsPathWinding'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', [''], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('EVEN_ODD', 'String'),
+  ('NON_ZERO', 'String'),
+]
+types['flash.display.GraphicsPathWinding'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsShaderFill'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['flash.display.Shader', 'flash.geom.Matrix'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.display.GraphicsShaderFill'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsSolidFill'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['ootype.UnsignedLongLong', 'ootype.Float'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = []
+types['flash.display.GraphicsSolidFill'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsStroke'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['ootype.Float', 'ootype.Bool', 'ootype.String', 'ootype.String', 'ootype.String', 'ootype.Float', 'flash.display.IGraphicsFill'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []
+desc.StaticFields = [
+  ('caps', 'ootype.String'),
+  ('joints', 'ootype.String'),
+  ('scaleMode', 'ootype.String'),
+]
+types['flash.display.GraphicsStroke'] = desc
+del desc
+
+desc = ClassDesc()
+desc.FullName = 'flash.display.GraphicsTrianglePath'
+desc.BaseType = ''
+desc.Methods = [
+  ('!CONSTRUCTOR!', ['ootype.Array', 'ootype.Array', 'ootype.Array', 'ootype.String'], None),
+]
+desc.StaticMethods = []
+desc.Fields = []