Flash assets gain access to the DMC API by saving the value of the `dmc` property against the `_root` object. The `dmc` object must be saved as soon as the Flash asset loads; the value of the property at any later point may have been overwritten.
var dmc = _root.dmc; // your code