Peter,

> Just to make sure I understand this properly:
> member("3d").model("Father").parent = 
> member("3d").model("Child") - this
> statement means that the "father" is the parent of/to "child"?

Nope. It makes "child" the parent of "father" (you set the "father"'s parent property 
to the "child" model). Switch it around if you want "father" as the parent model:

member("3d").model("Child").parent = member("3d").model("Father")
[ who is the child's parent? model("Father") is... ]

> If yes, then if I change the father, the child will change as
> well, right?

Depends upon what you mean by "change". If you move and/or rotate a parent model, then 
any child models move as if they were attached by rods (a child model's position and 
orientation relative to it parent stays constant when you move/rotate the parent). For 
example, say you have a "car" model with four children (the tires), move the parent 
car model and the children go with it. But you can then rotate a child model in place 
(simulate steering or driving down the street for example) without affecting the 
parent. Similarly you can also translate child models without affecting the parent if 
you'd like.


> And can one child have many parents?

No. Each model has one parent specified. But you could have the following 
(psuedo-code):

model("great grandparent").parent = group("World")
model("grandparent").parent = model("great grandparent")
model("parent").parent = model("grandparent")
model("child").parent = model("parent")

So the "child" model has a single parent, that has a parent, that has a parent, 
etc..., until you reach the top-most possible parent, the World group object. But as I 
said, you cannot assign two parents directly to a single model.


Cheers,
Tom Higgins
Product Specialist - Director Team
Macromedia

...
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to