i tend to render everything out in .tiff sequence; i find it easier to work with, but thats a personal preference i guess. You can set the object buffer layers in AE to be used as track and luma matts and use that as a mask to get what you want. (that is, if im understanding you >_< )