Subj : Re: Properties and Objects To : netscape.public.mozilla.jseng From : eboli@hotdak.net (Joseph Smith) Date : Sat Nov 29 2003 03:53 am Hey, Sorry about the response time (i have been away on hols for last week). What i was actually aiming for with the line: Map.Entity("Name").Leg(BONES_LEG_LEFT_THIGH).Move(x,y,z,distance); Was a Map Object (added to the Global JSObject), which had an Entity Object which in turn had a Leg object, which you could use to get / set properties, and execute methods (ie. Move(); GetParent(); etc). You would ultimately be able to have .Arm, or .Head properties for the entity, as well as the usual .name = , .age = etc :) the same going for map, which may have .Entity, .Surfaces, etc. I may have confused you with the notation of above line, but i meant that Entity("Name") would call Map.Entity and pass in a string, which i could use to select a given entity from the map, where as i was thinking along the lines of an Enum (or global const properties for the BONES_LEG_LEFT_THIGH) etc for the leg object (ie Leg(BONES_LEG_RIGHT_THIGH) instead of LEFT) :) I havent found any tutorial that really explains how to correctly pass your say Leg object to your Entity object in this manner (and most of the code i have made results in huge memory leakage, and exceptions within the spidermonkey (obv due to my stupidity) :) Can you point me anywhere relevant to this sort of use of spidermonkey??? .