Class question

Ok, how do I install a class if it’s not a .mxp-file?
Sometimes when I download a class, I get some .as-files,
how am I going to install it?