[Papervision3D] BitmapFileMaterial width and height
James Acres - AG
james at anonymousgroup.com
Mon Jun 11 13:22:24 EDT 2007
Hi everyone,
I'm working on a project which requires a number of planes to be
dynamically created. Before creating the planes, I'm loading all of
the bitmaps by creating BitmapFileMaterial objects. Once they're all
loaded, I try to create planes that are the same size as the bitmaps
that were loaded. I'm doing this by trying to grab the width and
height of the bitmaps by referencing material.bitmap.width and
material.bitmap.height. This seems to work fine in authoring, but
throws an "Error #2015: Invalid BItmapData" error in the browser.
Does anyone have any ideas on what's going wrong?
James
More information about the Papervision3D
mailing list