Package pyamf :: Class ASObject

[hide private]
[frames] | no frames]

# Class ASObject

source code

This class represents a Flash Actionscript Object (typed or untyped).

I supply a `__builtin__.dict` interface to support `get`/`setattr` calls.

Instance Methods | [hide private]

    new empty dictionary

__init__(self, *args, **kwargs) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

__getattr__(self, k) | source code

__setattr__(self, k, v) x.__setattr__('name', value) <==> x.name = value | source code

__repr__(self) repr(x) | source code

__hash__(self) hash(x) | source code

Inherited from `dict`: `__cmp__`, `__contains__`, `__delitem__`, `__eq__`, `__ge__`, `__getattribute__`, `__getitem__`, `__gt__`, `__iter__`, `__le__`, `__len__`, `__lt__`, `__ne__`, `__new__`, `__setitem__`, `clear`, `copy`, `fromkeys`, `get`, `has_key`, `items`, `iteritems`, `iterkeys`, `itervalues`, `keys`, `pop`, `popitem`, `setdefault`, `update`, `values`

Inherited from `object`: `__delattr__`, `__reduce__`, `__reduce_ex__`, `__str__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, *args, **kwargs)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns:

    new empty dictionary

Raises:
  - `AttributeError` - Unknown attribute.
Overrides: object.__init__
  (inherited documentation)

### __setattr__(self, k, v)

source code

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
  (inherited documentation)

### __repr__(self)
(Representation operator)

source code

repr(x)

Overrides: object.__repr__
  (inherited documentation)

### __hash__(self)
(Hashing function)

source code

hash(x)

Overrides: object.__hash__
  (inherited documentation)