@John: It seems like the problem you were having (no events dispatched) were actually because the AWD1Parser didn't properly implement the file format auto-detection system. That means it actually never even started parsing! I have fixed this (and also in the AC3DParser) so hopefully you should be able to use embedded AWD1 files now.
I will also be uploading an example in a second. Cheers /R On Jun 1, 11:15 am, richardolsson <[email protected]> wrote: > @John: > I see, the event doesn't fire? Thanks for clarifying the problem. I > will look into this. > > /R > > On Jun 1, 11:12 am, John Brookes <[email protected]> wrote: > > > > > > > > > var context : AssetLoaderContext = new AssetLoaderContext(); > > context.mapUrlToData('images/polySurface1.jpg', new treeBranchIMG()); > > > Loader3D.enableParser(AWD1Parser); > > loader = new Loader3D(); > > loader.addEventListener(LoaderEvent.RESOURCE_COMPLETE, > > onLoadComplete); > > loader.load(new URLRequest('../src/Models/ScotsPine/ScotsPine.awd'), null, > > context); > > > Works, image replaced > > > BUT Im embedding the awd and images > > swapping loader.load for > > loader.parseData(new awdFile(),null,context) > > > No oncomplete fires
