I'm trying to load a lot of assets at the same time through the
bulkloader API, but don't really understand how to handle the 3ds-
data.

If you are not familiar with bulk loader, it works like this:

1. You create a bulk loader instance and add assets to it like this.

loader=new BulkLoader("main");
loader.add("assets/meshes/carTexture.png", {id:"texture01"});
loader.addEventListener(BulkProgressEvent.COMPLETE, setupScene);
loader.start();

2. Then you retrieve the objects with different functions depending on
what kind of data it is:
var bitmap:BitmapData=loader.getBitmapData("texture01");
var string:String=loader.getText("texture01");

The Problem!
There is a getContent function that gets the untyped data of a loaded
item, and i've tried to pipe that into the 3ds parse function but that
doesn't seem to work.

Can anyone help me on how I need to format the data for the parser?
I've tried to understand the 3ds-parser class but it's really
complex...

Thanks for any help!

/David

Reply via email to