Do you use the latest source for AS3MOD? On Sat, Oct 2, 2010 at 3:42 PM, sofke <[email protected]> wrote:
> Thanks for your help. Still have errors though > > Away3DMesh.as line 21 1046: Type was not found or was not a compile- > time constant: Vector. > Away3DMesh.as line 35 1180: Call to a possibly undefined method > Face. > Away3DMesh.as line 36 1180: Call to a possibly undefined method > Face. > Away3DMesh.as line 37 1180: Call to a possibly undefined method > Face. > Mesh.as line 754 Waring: 3594: appendChild is not a recognized > method of the dynamic class XML. > Mesh.as line 762 Warning: 3594: appendChild is not a recognized > method of the dynamic class XML. > Mesh.as line 769 Warning: 3594: appendChild is not a recognized > method of the dynamic class XML. > WireFrameMaterial line 140 Warning: 3590: void used where a Boolean > value was expected. The expression will be type coerced to Boolean. > > > > On 2 list, 14:54, Guitouxx <[email protected]> wrote: > > Hello, > > I had the same problem when I wanted to update my portfolio. > > You just need to change some things : > > > > In the Away3dMesh.as > > Line 20 > > var vs:Vector.<Vertex> = awm.vertices; > > > > Line 21 > > var ts:Vector.<Face> = awm.faces; > > > > Line 27 > > nv.setVertex(vs[i] as Vertex); > > > > Line 34 > > nt.addVertex(lookUp[Face(ts[i]).v0]); > > nt.addVertex(lookUp[Face(ts[i]).v1]); > > nt.addVertex(lookUp[Face(ts[i]).v2]); > > > > Let me know if you still have the problem :) > > > > On 2 oct, 08:21, sofke <[email protected]> wrote: > > > > > > > > > Anyone got as3dmod working with 3.6 version? I'm getting errors > > > 1067: Implicit coercion of a value of type > > > __AS3__.vec:Vector.<away3d.core.base:Vertex> to an unrelated type > > > Array. > > > 1067: Implicit coercion of a value of type > > > __AS3__.vec:Vector.<away3d.core.base:Face> to an unrelated type Array. > > > > > Thanks! > -- 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]
