My document class doesn`t work ?
hi.. rookie flexboy needs guiance please :: , created document class, here :
my document class |
---|
package { import flash.display.sprite; import flash.events.event; import org.papervision3d.materials.wireframematerial; import org.papervision3d.objects.displayobject3d; import org.papervision3d.objects.primitives.sphere; import org.papervision3d.view.basicview; [swf (width="400", height="300", backgroundcolor="0x000000")] public class main extends basicview { public var primitive : displayobject3d; public function main() { primitive = new sphere(); scene.addchild(primitive); camera.fov = 30; startrendering(); } } |
and here consola out debug:
info: papervision3d 2.0.0 (march 12th, 2009)
info: viewport autoscaletostage : papervision has changed stage scale mode.
[swf] main.swf - 339,652 bytes after decompression
but doesn`t show me a windows scene whith sphere.
and there main.swf inside debug folder clicked and sphere show up::
can tell me basic set use a document-clas.as ready air ?
thax-
for air, need -app.xml file. make test air project see the
pieces.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment