[Papervision3D] Loading ASE model Error

Le Trong Hung lthung13 at yahoo.fr
Fri Dec 29 03:33:05 EST 2006


Hi all,



I exported the ASE model with 3DMax and try to load it with PV3D, AS3, Flex 2. And the error occurred. 

TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at org.papervision3d.objects::Ase/::loadAse()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()

I debug the engine and found that, error came from Ase.as, line 283

        // Remap UVs
        //for( var i:String in faces ) faces[i].transformUV();
        
        for( var i:String in faces )
        {
            if(faces[i].uv.length > 0) <-- Error here!!!!
               
 faces[i].transformUV();
        }

Did I make any mistake or this is the engine bug?

Regards,
Hung Le






__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20061229/654b3cdf/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AseTestCode.zip
Type: application/zip
Size: 2090 bytes
Desc: not available
Url : http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20061229/654b3cdf/utf-8qAseTestCode-0001.zip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data.zip
Type: application/zip
Size: 21561 bytes
Desc: not available
Url : http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20061229/654b3cdf/utf-8qdata-0001.zip


More information about the Papervision3D mailing list