Convert to Class HELP

if someone could help me i’d really appreciate it.
i have an fla thats using the Printjob class to print files from an array (prints each MC on a new page) its working but im having trouble converting it to a class with an actionscript file