# What am I doing wrong with Papervision setup?

**URL:** <https://forum.kirupa.com/t/what-am-i-doing-wrong-with-papervision-setup/268372>\
**Category:** flash\
**Created:** [August 13, 2008, 4:10am UTC](https://forum.kirupa.com/t/what-am-i-doing-wrong-with-papervision-setup/268372 "2008-08-13T04:10:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pajhonka](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@pajhonka](https://forum.kirupa.com/u/pajhonka)\
**Post date:** [August 13, 2008, 4:10am UTC](https://forum.kirupa.com/t/what-am-i-doing-wrong-with-papervision-setup/268372/1 "2008-08-13T04:10:51Z")

</div>

Hi,  
I’m interested in creating some Papervision web sites, but I’m a little unsure of how to get started. I have Flash CS3, but many of the tutorials I see use Flex. As most of the examples I find are Actionscript files, how would I get them working in Flash?

Say, for example I wanted to compile an .as file like the one found here:  
[http://pv3d.googlecode.com/svn/trunk/org/pv3d/examples/math/ScaleToDistance.as](http://pv3d.googlecode.com/svn/trunk/org/pv3d/examples/math/ScaleToDistance.as)

I downloaded this file to the same folder as my .fla and in the Document Class field, and typed “ScaleToDistance.” I got the following error description:  
DESCRIPTION- 1120: Access of undefined property cameraAsDebugFrustumCamera3D.

I have the .as file loaded into the document class field of my .fla. Am I doing this correctly? Thanks!
