Access document class

how to access document class (methods, properties) from an external .swf