Great, thank you soooooo much!
On Feb 9, 12:53 pm, Fabrice3D <[email protected]> wrote: > svn f9 as3exporter updated, > let me know if it does the job now... > > looking at the output i see the expected flaw > > mesh.pushback = ref.pushback; > mesh.ownCanvas = ref.ownCanvas; > // here the following is missing... > aC[ref.container].addChild(mesh); > > oList.push(mesh); > So basically internally the meshes were not addchilded to the class > as a result you attach an empty container to the scene > > > I made some adjustments (package name, etc) > > you can pass the packagename in constructor > > Fabrice > > On Feb 9, 2010, at 9:27 PM, antoniolea wrote: > > > I have two questions.. First one is simple. > > What is the latest version. > > ASDoc says latest is v 2.3, yet when I use the away3D v3.4.2 (svn > > tag), the as3 exporter says version 2.2. The constructor syntax is > > different (it has none). > > I had to use these lines: > > > private someFunction () > > { > > collada = new Collada(); > > model1 = collada.parse(BuletDAE) as ObjectContainer3D; > > _as3exporter = new AS3Exporter(); > > _as3exporter.addOnExportComplete(as3completeHandler); > > _as3exporter.export(_model1, "BulletModel", ""); > > } > > > private function as3completeHandler(e:ExporterEvent) : void > > { > > trace ("export completed"); > > trace(_as3exporter.as3File); > > } > > > Which exports just fine without a problem. > > I made some adjustments (package name, etc) and then saved it as > > BulletModel.as. Then I compiled by creating the instance of > > BulletModel and replaced my model1. > > However, I don't see anything at all. It compiles without an error > > but I don't see anything on the screen. Model worked with the var > > model1. Has anyone encountered this problem before? > > > The path to the as3 exported class file is > >www.antoniolea.com/temp/BulletModel.as > > in case... Thanks..
