DesignWebKit

Creating a Papervision Component

For all of Papervision’s technical brilliance, there is one major factor that prevents it being used in more Flash applications: it’s complicated. You need a good understanding of ActionScript, 3D concepts and some fairly low level resource loading and handling techniques in order to use Papervision.

Fortunately Flash has introduced the concept of components, which allows you to create a UI element that can be dropped onto a Flash application and edited just like you would a button or a combo box. It removed the need to know anything about ActionScript because all the properties can be accessed and modified by the graphical editor. This tutorial covers some aspects of creating a Papervision component. It provides a simple demo, source code and some links that might come in handy.