Sorry, ignore my post - you get the Mesh out of the ParserEvent.result. Wasn't obvious from the documentation, but reading the source explained it all.
Away3D rocks once again :) Cheers, Rich On 26 May 2010 19:29, Richard Davey <[email protected]> wrote: > Thank you, excellent. > > One final related question = how do you extract the mesh from the Md2? > > When I used the loader I did: > > model = loader.handle as Mesh; > > I'm trying to get at a sequence of animations within the Md2. > > Cheers, > > Rich > > > On 26 May 2010 19:11, Michael Iv <[email protected]> wrote: > >> Md2.parseGeometry() >> >> >> On Wed, May 26, 2010 at 9:10 PM, Richard Davey <[email protected]> wrote: >> >>> Hiya, >>> >>> I'd like to load an MD2 model from an Embed. >>> >>> At the moment I'm using Loader3D.loadGeometry(), which is fine getting it >>> from a local file, but how could I get it from: >>> >>> [Embed(source = "../assets/model.md2", mimeType = >>> "application/octet-stream")] private var modelMD2:Class; >>> >>> ? >>> >>> Cheers, >>> >>> Rich >>> -- >>> http://www.photonstorm.com >>> We sparkle more than vampires >>> >>> >> >> >> -- >> Michael Ivanov ,Programmer >> Neurotech Solutions Ltd. >> Flex|Air |3D|Unity| >> www.neurotechresearch.com >> http://blog.alladvanced.net >> http://www.meetup.com/GO3D-Games-Opensource-3D/ >> Tel:054-4962254 >> [email protected] >> [email protected] >> >> > > > -- > http://www.photonstorm.com > We sparkle more than vampires > > -- http://www.photonstorm.com We sparkle more than vampires
