Fabrice3D and Tian many many thanx. The update made the object to work again. You are surely stars. i can now proceed more confident with my project :D
BR Dimi On Apr 20, 1:11 pm, Dimi <[email protected]> wrote: > I understand. > > Sorry Fabrice. Its because i have a bad habit to delete the included > text that is the last message, Since you probaly read this in your > mail client and not the forum you cant see the related text to the > thread ;( > > the error i mean is > > 1120: Access of undefined property SortType. > 1120: Access of undefined property _faceLengths. > > But when i get home i will download the update Tian meantioned and > also remove the AS3 file from the folder Since it seems Tian solved > the issue that way. I will update you guys how it goes. > > And many thanx for welcoming me :) > > /Dimi > > On 20 Apr, 11:18, Fabrice3D <[email protected]> wrote: > > > > > > I asume its enoying to answere people like me that is so new to all this. > > > Yeah man, its super annoying. Thats why we help you so that you stop > > annoying us :)) > > > > When i now run it i get the error above. > > > I've scrolled up as up as I could. No error in your message. > > Little note "en passant": Its probably a very bad idea to put custom > > classes into the primitives package of the engine. > > You should make an "asmodels" package outside the engine package.... > > > > Hope this clear some lights and again i appologize for my bad vocabolary > > > caused by being a inexperienced flash user. > > > no need to appologize really. That's what this forum is all about. > > Welcome to Away3d :) > > > Fabrice > > > On Apr 20, 2010, at 10:51 AM, Dimi wrote: > > > > Hi and thank you so much for the answere. I must say im very impressed > > > that you guys answere so fast when i know you must have so much to do. > > > And i asume its enoying to answere people like me that is so new to > > > all this. I just accedently started with it as project at work that is > > > about to release a whole new product series. And i am trying to make > > > all the product to 3Dmodels and i hope in a later state when someone > > > mouseover parts of the object i can add some popup or something that > > > explains what it is and what it do. > > > If it will be good i will sure give credits, but im affraid my > > > knowledge is not enough to make it superb :) > > > Anyway that was offtopic. > > > > I am at work now and i will try what Tain said when i Come home. > > > > Fabrice3D: I use the latest version as you already notice Version > > > 2.4.0 / 3.4.0 as found on the download site. > > > I have not thinked about the SVN, i simply downloaded the latest zip > > > on the download section. > > > i can see that there is a lib on the svn /tags/3.4.2 lib/src but that > > > one is for Away3d and not Away3Dlight so i am using the latest > > > version. > > > > What i do is to take the created as3 file and put it in the away3dlite > > > primitives folder where all the other objects are. > > > > So i have a view and a camera, all made after tutorials and the help > > > files. > > > So i am using the included scene in view3D > > > > i also have a container as i remember "var > > > container:ObjectContainer3D" > > > > container = new ObjectContainer3D(); > > > > //After i import the objects > > > > cube = new Cube6(); > > > sphere = new Sphere(); > > > cylinder = new Cylinder() > > > > // i use buttons to add the objects to stage, in the buttons onlick > > > function i have this > > > > container.addChild(cube); > > > > // this will add the cube to the stage, the cube i add are the cube > > > that already exist in the primitive folder as an example and it works > > > great so i asume so far the code are good. > > > > So i now have my prefab created actionscript that are in the same > > > folder as the example primitives. > > > So the code are the same as the others. > > > > First i import the actionscript > > > > import away3Dlite.primitives.TestCube; // TestCube are the > > > actionscript created by prefab. > > > > Secondly create the variable > > > > var testcube:TestCube > > > > I create the object > > > > testcube = new testCube(); > > > > And with a button i add it > > > > container.addChild(testcube); > > > > When i now run it i get the error above. > > > > So i use the exact same code as i use for the included primitives that > > > works i.e. cube and sphere > > > I may have used some bad refferences above since i do not have the > > > project infront of me. > > > > Hope this clear some lights and again i appologize for my bad > > > vocabolary caused by being a inexperienced flash user. > > > > Br > > > Dimi > > > > ps: I could not find a thread about my issue when i searched so if > > > this is a double post i am sorry. > > > and i am looking forward to get hold of that documentation/tutorials > > > you guys are working on :) i think with 3daway and prefab only my > > > imagination will stop me in the future :P > > > > -- > > > Subscription > > > settings:http://groups.google.com/group/away3d-dev/subscribe?hl=en-Dölj > > > citerad text - > > > - Visa citerad text -- Hide quoted text - > > - Show quoted text -
