Document class issues

hi
i use away3D classes . i know that use away3D class must define classes in publish setting source path but when use source path ,document class is undefined for flash CS4 .
what should i do ?
please explain to me how to use source path and document class (Preferably for use away3D or papervision 3D).
very thanks