Easiest way for this...
Place code above in file 'ScrollPain.as', and place in same folder as your fla.
In the fla, in the library, right click on ScrollPane item, and select properties.
Under the Linkage, change the Class to 'ScrollPain'. Click OK.
thats what I thought, if I do that tho the package for scrollPain references the .fla.containers and I get an error compiling for that saying that those imports dont exist at that location. Which they dont of course cuz their in a different folder. Do I just change the import locations for those files in the scrollPain.as?