Loader3D and md5anim

Software: Away3D 4.x

Shegl, Sr. Member
Posted: 30 May 2012 07:38 AM   Total Posts: 134

Hello I got a problem. I have my own Preloader class for images bitmaps xmls and other assets. And my class conflict hard with AssetLibrary, so I cant use that option to load my models.
Now I easy loading md5mesh in my game. But I dunno how to load animation by loader3d.

Could u tell me some options to fix this problem. Or I need my own anim parser in my Preloader class? How I can do this ?

P.S. I can use AssetLibrary if it work like:

public function blalba():void {
var AL:AssetLibraryLoader = new AssetLibraryLoader("Name");
AL.EventListneres(blablabla);
AL.load(new URLRequest();
    function 
done(e:Event):void {
    
//we done some moves. and Dispose me 
    
parent.dispose();
    
}

Help me please :D

   

Shegl, Sr. Member
Posted: 31 May 2012 08:24 AM   Total Posts: 134   [ # 1 ]

Love u guys, it’s already done in AssetLibrary:

var ALT:AssetLoaderToken AssetLibrary.load(new URLRequest(file), nullfile);
ALT.addEventListenerAssetEvent.ASSET_COMPLETEonAssetCompleteHandler); 

Working fine!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X