The only way I can get the mtl is to pass the url of the obj to the id

eg
[Embed(source="MCUBE.obj", mimeType="application/octet-stream")]
private var OBJEmbed : Class;
...

ResourceManager.instance.addEventListener(ResourceEvent.RESOURCE_RETRIEVED,
onResourceRetrieved);
ResourceManager.instance.parseData(new OBJEmbed(), "../src/MCUBE.obj",
false);

Works,but just checking if im right?

Reply via email to