Papervision panorama

Hello!
I’ve been using flash to create websites and I didn’t got into Object Oriented Programming, so I’m fairly new to classes.

I’m a photographer as well and I’m trying to create a website with 360 cubic panoramas using papervision.

I would like to create something like this:
http://www.papervision3d.org/demos/library_panorama/

I found the source code of it here:
http://papervision3d.googlecode.com/svn/trunk/as3/tags/1_7/examples/Panorama/

The swf file works fine but in order to use the FLA file I have to drop the papervision folder (the 1.5 version, I guess) and the blitzagency folder in the same folder as the Fla.

I did that and I’m getting an error and I can’t figure out how to solve it.

5007: An ActionScript file must have at least one externally visible definition.

Can anyone help me out?